User tests: Successful: Unsuccessful:
… of the path
Pull Request for Issue #19973 .
add a space beginning of the heystack,
str_pos seems to fail when begining with a / in the heystack so begin with a space followed by a /
Add:
/bogus/
to a url in your site, it should 404.
Now delete the 404, add /bogus/ to the exclusion list
Access the /bogus/ url again.
404 and not add to the com_redirects
404 and adds to the com_redirects.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Labels |
Added:
?
|
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-03-25 15:01:13 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
So the bug occurs when exclusion text is found at the very first position of the URL
that is when exclusion text is found at position 0 (zero), so existing check fails for this reason, because it considers zero return value .... as not found
@tonypartridge
you latest commit looks good, but can you also update "Summary of Changes" to explain the change, and describe why this bug occurs