User tests: Successful: Unsuccessful:
Pull Request for Issue #31003.
Adds validation rule for redirect header field.
Go to Redirects.
In configuration enable Advanced Mode
.
Create a new redirect.
Use your browser's developer tools to change the selected value in Redirect Status Code
field to something not in the list (e.g. 999
).
Save the redirect.
Inspect header
column of the redirect in the database (#__redirect_links
table).
Redirect saved with 999
as header code.
Saving redirect fails with message:
Warning
Invalid field: Redirect Status Code
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_redirect |
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 | ⇒ | 2020-10-09 11:10:52 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
?
?
|
Thanks
I have tested this item✅ successfully on d1a8a50
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31016.