? Success

User tests: Successful: Unsuccessful:

avatar izharaazmi
izharaazmi
23 Apr 2016

Summary of Changes

Previously it would raise undefined string offset error when the passed value is "\" only, as there was no length check for the $path variable.

Testing Instructions

If testing on Windows:

    JPath::clean('\\');

If testing on any OS, including Windows:

    JPath::clean('\\', '\\');

You can see the php error message: undefined string offset 1

Make sure you have error reporting enabled when you test this.

avatar izharaazmi izharaazmi - open - 23 Apr 2016
avatar izharaazmi izharaazmi - change - 23 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Apr 2016
Labels Added: ?
avatar henkrijneveld henkrijneveld - test_item - 23 Apr 2016 - Tested successfully
avatar henkrijneveld
henkrijneveld - comment - 23 Apr 2016

I have tested this item :white_check_mark: successfully on ccf7ce1


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

avatar brianteeman brianteeman - change - 24 Apr 2016
Category Libraries
avatar zero-24 zero-24 - test_item - 7 May 2016 - Tested successfully
avatar zero-24
zero-24 - comment - 7 May 2016

I have tested this item :white_check_mark: successfully on ccf7ce1

Thanks. works here with the patch.


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

avatar zero-24
zero-24 - comment - 7 May 2016

RTC. Thanks.


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

avatar zero-24 zero-24 - change - 7 May 2016
Status Pending Ready to Commit
avatar joomla-cms-bot joomla-cms-bot - change - 7 May 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 7 May 2016
Milestone Added:
avatar Kubik-Rubik
Kubik-Rubik - comment - 8 May 2016

Thank you @izharaazmi and testers!

avatar Kubik-Rubik Kubik-Rubik - close - 8 May 2016
avatar Kubik-Rubik Kubik-Rubik - merge - 8 May 2016
avatar joomla-cms-bot joomla-cms-bot - close - 8 May 2016
avatar Kubik-Rubik Kubik-Rubik - change - 8 May 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-05-08 13:44:10
Closed_By Kubik-Rubik
avatar joomla-cms-bot joomla-cms-bot - change - 8 May 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment