No Code Attached Yet
avatar PhilETaylor
PhilETaylor
21 Mar 2021

Steps to reproduce the issue

in com_redirect /administrator/index.php?option=com_redirect create a new Redirect Link with

Expired URL = "123"
New URL = "123"

Click SAVE, correctly note that there is an error : "Save failed with the following error: The source and destination URLs can't be the same."

Screenshot 2021-03-21 at 20 43 42

Change to be

Expired URL = "123"
New URL = "AAA"

Click SAVE & Close, note item is saved correctly

Select the check box next to the item

Click Batch Update Selected URL(s) button

Type

New URL = "123"

Click update links - congratulation the link was updated with invalid data because now the link is:

Expired URL = "123"
New URL = "123"

which is against the validation rules.

Expected result

Validation should kick in while batch updating links

Actual result

Insufficient validation of input before making changes to the database.

Screenshot 2021-03-21 at 20 43 17

avatar PhilETaylor PhilETaylor - open - 21 Mar 2021
avatar joomla-cms-bot joomla-cms-bot - change - 21 Mar 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Mar 2021
avatar PhilETaylor PhilETaylor - change - 21 Mar 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 21 Mar 2021
avatar PhilETaylor PhilETaylor - change - 21 Mar 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 21 Mar 2021
avatar PhilETaylor PhilETaylor - change - 7 Mar 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-03-07 18:38:36
Closed_By PhilETaylor
Labels Added: No Code Attached Yet
Removed: ?
avatar PhilETaylor PhilETaylor - close - 7 Mar 2022

Add a Comment

Login with GitHub to post a comment