I upgraded my joomla installation to 3.4.5 from 3.4.1. Now, when the site is accessed via a url in an email (such as a Kunena post) and where the user is not currently logged in, the login redirects to the users profile page and not to the return url.
I have tracked the problem down to a change made to com_user around line 44 where the return is tested with JUri::isInternal. Somehow the return url is missing the slash after the sitename.
The URL used to access the site is:http://192.168.0.219/index.php?option=com_kunena&view=topic&catid=18&id=565&Itemid=302#885
When the login form is presented the Base64 decoded return value in the login form is: http://192.168.0.219?option=com_kunena&view=topic&catid=18&id=565&Itemid=302
When com_user makes the call to JUri::isInternal it sends this Base64 decoded value. Inside isInternal the function calculates the base of the url to be http://192.168.0.219 but the static::base() function call returns http://192.168.0.219/ with the slash at the end so the comparison fails so the return is discarded.
The 3.4.2 update to com_user is where this change was inserted.
I can comment out the test and it works for now but there is something wrong. I hope this is the correct place to post this issue.
Thanks.
Category | ⇒ | Front End |
Really, nobidy??
Is this still happening in the 3.6 beta 2 version?
In a plain 3.6.0 rc2 install I have log out doesn't go to the url set in the module settings. I have set log out to Main Menu > Home - when loging out it stays on the page I log out from.
does this still happens on 3.6.2 ?
Status | New | ⇒ | Information Required |
I am closing this due to inactivity and the code referred to has changed a lot since this was posted
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-25 13:01:59 |
Closed_By | ⇒ | brianteeman |
Nobody??