? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
5 Aug 2020

Summary of Changes

Corrects reporting URL when Joomla is installed in a path containing /administrator.

Testing Instructions

Install Joomla in path containing /administrator. E.g. localhost/administrator-site.
Enable CSP reporting.
Check the report-uri value of content-security-policy-report-only header.

Actual result BEFORE applying this Pull Request

report-uri http://localhost-site/index.php?option=com_csp&task=report.log&client=administrator

Expected result AFTER applying this Pull Request

report-uri http://localhost/administrator-site/index.php?option=com_csp&task=report.log&client=administrator

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 5 Aug 2020
avatar SharkyKZ SharkyKZ - change - 5 Aug 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Aug 2020
Category Front End Plugins
avatar zero-24
zero-24 - comment - 5 Aug 2020

Why do you want to change this? The intention was to have that log method only in the frontend.

avatar zero-24
zero-24 - comment - 5 Aug 2020

Why do you want to change this? The intention was to have that log method only in the frontend.

avatar SharkyKZ
SharkyKZ - comment - 5 Aug 2020

Joomla\CMS\Uri\Uri::root() does point to frontend.

avatar zero-24
zero-24 - comment - 5 Aug 2020

Ah, ok sorry got confused :-D

avatar bonzani bonzani - test_item - 5 Aug 2020 - Tested successfully
avatar bonzani
bonzani - comment - 5 Aug 2020

I have tested this item successfully on 538be35


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

avatar Quy Quy - test_item - 6 Aug 2020 - Tested successfully
avatar Quy
Quy - comment - 6 Aug 2020

I have tested this item successfully on 538be35


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

avatar Quy Quy - change - 6 Aug 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 6 Aug 2020

RTC


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

avatar wilsonge wilsonge - change - 8 Aug 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-08-08 23:36:44
Closed_By wilsonge
Labels Added: ? ?
avatar wilsonge wilsonge - close - 8 Aug 2020
avatar wilsonge wilsonge - merge - 8 Aug 2020
avatar wilsonge
wilsonge - comment - 8 Aug 2020

Thanks!

Add a Comment

Login with GitHub to post a comment