? Success

User tests: Successful: Unsuccessful:

avatar izharaazmi
izharaazmi
3 Dec 2015

This may not seem any important but I'd say it still is breaking. Try running Joomla in a subdirectory administrator under your web root, and open backend. It would break.

example.com/administrator/administrator/index.php

dirname will work on all platforms as JUri::base(true) always uses / as the path separator. Also there is no trailing slash in the return value of JUri::base(true)

avatar izharaazmi izharaazmi - open - 3 Dec 2015
avatar izharaazmi izharaazmi - change - 3 Dec 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Dec 2015
Labels Added: ?
avatar brianteeman brianteeman - change - 30 Mar 2016
Category Libraries
avatar brianteeman brianteeman - test_item - 30 Mar 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 30 Mar 2016

I have tested this item :white_check_mark: successfully on fb59736


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

avatar joomla-cms-bot
joomla-cms-bot - comment - 6 Apr 2016

This PR has received new commits.

CC: @brianteeman


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

avatar pe7er pe7er - test_item - 25 Jun 2016 - Tested successfully
avatar pe7er
pe7er - comment - 25 Jun 2016

I have tested this item successfully on 9250008

Patch tested successfully on Joomla! 3.6.0-beta2

I've installed Joomla in a folder called /administrator/ and going to the /administrator/administrator/ results in a blank page.

I've manually added the code of this patch to the file, and it solves the problem.

Thanks!


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

avatar BezouwenR BezouwenR - test_item - 25 Jun 2016 - Tested successfully
avatar BezouwenR
BezouwenR - comment - 25 Jun 2016

I have tested this item successfully on 9250008

Patch tested successfully on Joomla! 3.6.0-beta2

I've installed Joomla in a folder called /administrator/ and going to the /administrator/administrator/ results in a blank page.

I've manually added the code of this patch to the file, and it solves the problem.

// JUri::root(null, str_ireplace('/' . $this->getName(), '', JUri::base(true)));
JUri::root(null, rtrim(dirname(JUri::base(true)), '/'));

Thanks!


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

avatar ggppdk ggppdk - test_item - 25 Jun 2016 - Tested successfully
avatar ggppdk
ggppdk - comment - 25 Jun 2016

I have tested this item successfully on 9250008

Also works for placing joomla in sub-folder like
/administrator*/

e.g.
/administrator_2/


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

avatar zero-24 zero-24 - change - 25 Jun 2016
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 25 Jun 2016

RTC based on testing


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

avatar joomla-cms-bot joomla-cms-bot - change - 25 Jun 2016
Labels Added: ?
avatar roland-d roland-d - change - 25 Jun 2016
Milestone Added:
avatar roland-d roland-d - change - 25 Jun 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-06-25 20:46:25
Closed_By roland-d
avatar roland-d roland-d - close - 25 Jun 2016
avatar roland-d roland-d - merge - 25 Jun 2016
avatar joomla-cms-bot joomla-cms-bot - close - 25 Jun 2016
avatar roland-d roland-d - reference | cb68988 - 25 Jun 16
avatar roland-d roland-d - merge - 25 Jun 2016
avatar roland-d roland-d - close - 25 Jun 2016
avatar joomla-cms-bot joomla-cms-bot - change - 25 Jun 2016
Labels Removed: ?
avatar roland-d
roland-d - comment - 25 Jun 2016

Thanks everybody

Add a Comment

Login with GitHub to post a comment