? ? Pending

User tests: Successful: Unsuccessful:

avatar artur-stepien
artur-stepien
12 Oct 2020

If you have users activation approved by administrator and administrator is not logged in when he clicks the activation anchor in notification e-mail he will be redirected to the login page. Then after successful authorization he is redirected. The problem is that language filter changes the return url (the activation url) when it doesn't detect Itemid set in the url. With activation URL there is no Itemid set anywhere so it changes the return by wiping ANY redirection data like the most important part - the token. This patch just sets Itemid if it is an internal url and it was not set. That way any redirection data should be safe right now.

(moved from #31024)

Pull Request for Issue # .

Summary of Changes

Testing Instructions

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Documentation Changes Required

avatar artur-stepien artur-stepien - open - 12 Oct 2020
avatar artur-stepien artur-stepien - change - 12 Oct 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Oct 2020
Category Front End Plugins
avatar joomlacorner joomlacorner - test_item - 17 Oct 2020 - Tested successfully
avatar joomlacorner
joomlacorner - comment - 17 Oct 2020

I have tested this item successfully on cb96bed


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

avatar gostn gostn - test_item - 25 Nov 2020 - Tested successfully
avatar gostn
gostn - comment - 25 Nov 2020

I have tested this item successfully on cb96bed


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

avatar alikon alikon - change - 25 Nov 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 25 Nov 2020

RTC


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

avatar HLeithner HLeithner - close - 5 Jan 2021
avatar HLeithner HLeithner - merge - 5 Jan 2021
avatar HLeithner
HLeithner - comment - 5 Jan 2021

Thanks

avatar HLeithner HLeithner - change - 5 Jan 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-01-05 22:52:57
Closed_By HLeithner
Labels Added: ?

Add a Comment

Login with GitHub to post a comment