? ? Pending

User tests: Successful: Unsuccessful:

avatar tonypartridge
tonypartridge
27 Jan 2022

Pull Request for Issue #36862 .

Summary of Changes

Remove the direct changes to the redirect object and updating of new_url

Testing Instructions

Without this PR add a redirect and publish it into com_redirects, for example:

Source:
/my-custom-error
Destination
/my-real-live-page

access

/my-custom-error?query_junk_here

Actual result BEFORE applying this Pull Request

you are redirected to:

/my-real-live-page?query_junk_here

Try it again and you will see you are redirected to:

/my-real-live-page?query_junk_here?query_junk_here

Because before this PR the DB is updated.

Expected result AFTER applying this Pull Request

You are redirected to: /my-custom-error?query_junk_here
But your redirect in the database is not changed.

Documentation Changes Required

Back-port to J3 too.

avatar tonypartridge tonypartridge - open - 27 Jan 2022
avatar tonypartridge tonypartridge - change - 27 Jan 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Jan 2022
Category Front End Plugins
avatar tonypartridge tonypartridge - change - 27 Jan 2022
Labels Added: ?
avatar zero-24
zero-24 - comment - 27 Jan 2022

Back-port to J3 too.

Could you do a PR there so this can be tested there and merged up? @tonypartridge

avatar Quiviro Quiviro - test_item - 4 Feb 2022 - Tested successfully
avatar Quiviro
Quiviro - comment - 4 Feb 2022

I have tested this item successfully on 514caa3

It works as expected in new redirections created after applying the patch


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36873.

avatar zero-24
zero-24 - comment - 6 Feb 2022

I have just did the backport to 3.10 here: #36951 idially its tested there and merged up from there.

avatar Quy
Quy - comment - 8 Feb 2022

Closing as it will be upmerged from v3.10. Thank you!

avatar Quy Quy - close - 8 Feb 2022
avatar Quy Quy - change - 8 Feb 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-02-08 18:21:52
Closed_By Quy
Labels Added: ? ?
Removed: ?

Add a Comment

Login with GitHub to post a comment