? ? Pending

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
25 Mar 2020

Summary of Changes

Escape return to homepage url in isis and hathor

Testing Instructions

  • install this patch
  • make sure the link to homepage still works as expected

Expected result

homepage url is escaped

Actual result

homepage url is not escaped

Documentation Changes Required

none

cc @SniperSister

avatar zero-24 zero-24 - open - 25 Mar 2020
avatar zero-24 zero-24 - change - 25 Mar 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Mar 2020
Category Administration Templates (admin)
avatar richard67
richard67 - comment - 25 Mar 2020

What does "retrun" mean in title and description? ;-)

avatar mbabker
mbabker - comment - 25 Mar 2020

Maybe I'm missing something obvious but it seems to me if you need to escape a Joomla\Uri\UriInterface object that has zero user input whatsoever that there is some security flaw in the URI class chain that needs to be addressed as a security issue. Or are you going to go through the entire CMS now and escape every URL in every <a> and <form> element?

This is the type of issue that requires a clear explanation of the issue that is being fixed, and if applicable with some form of automated test to demonstrate the issue and prevent regression. A drive by patch saying "I want to escape this URL in these spots" isn't explaining any issue or why the change is necessary.

avatar zero-24
zero-24 - comment - 25 Mar 2020

Or are you going to go through the entire CMS now and escape every URL in every and

element?

No. I just wanted to patch this login.php files.

Maybe I'm missing something obvious but it seems to me if you need to escape a Joomla\Uri\UriInterface object that has zero user input whatsoever that there is some security flaw in the URI class chain that needs to be addressed as a security issue.

Agree it is not the case here just rips who complained about it and well even when we have no direct exploit does it hurt? And the theorethical issue of Uri beeing broken, having it broken on the login page would be less ideal :D

A drive by patch saying "I want to escape this URL in these spots" isn't explaining any issue or why the change is necessary.

Well there is no hidden reason behind that PR just to add escaping like mention above.

avatar zero-24
zero-24 - comment - 25 Mar 2020

What does "retrun" mean in title and description? ;-)

It is the retrun to homepage url :D

avatar richard67
richard67 - comment - 25 Mar 2020

"retrun" or "return"? ?

avatar zero-24 zero-24 - change - 25 Mar 2020
Title
Escape retrun to homepage url in isis and hathor
Escape return to homepage url in isis and hathor
avatar zero-24 zero-24 - edited - 25 Mar 2020
avatar zero-24
zero-24 - comment - 25 Mar 2020

return i do to many things at once :D

avatar richard67 richard67 - change - 25 Mar 2020
The description was changed
avatar richard67 richard67 - edited - 25 Mar 2020
avatar richard67
richard67 - comment - 25 Mar 2020

@zero-24 In the description it was still "retrun", I've just corrected that for you.

avatar coolcat-creations
coolcat-creations - comment - 7 Apr 2020

I have tested this item successfully on 6cd98d2

Installed the patch and the upper right link to the Frontend still works in backend.

Please correct if I misunderstood the instructions.


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

avatar coolcat-creations coolcat-creations - test_item - 7 Apr 2020 - Tested successfully
avatar zero-24
zero-24 - comment - 7 Apr 2020
avatar jwaisner
jwaisner - comment - 7 Apr 2020

I have tested this item successfully on 6cd98d2


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

avatar jwaisner jwaisner - test_item - 7 Apr 2020 - Tested successfully
avatar jwaisner jwaisner - change - 7 Apr 2020
Status Pending Ready to Commit
avatar richard67 richard67 - change - 8 Apr 2020
Labels Added: ? ?
avatar HLeithner HLeithner - close - 14 Apr 2020
avatar HLeithner HLeithner - merge - 14 Apr 2020
avatar HLeithner
HLeithner - comment - 14 Apr 2020

I don't think that this PR is useful but if rips is happy then it's ok for me... Thanks

avatar HLeithner HLeithner - change - 14 Apr 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-04-14 15:20:09
Closed_By HLeithner
Labels

Add a Comment

Login with GitHub to post a comment