? Pending

User tests: Successful: Unsuccessful:

avatar N6REJ
N6REJ
14 Sep 2019

Pull Request for Issue # .
#19048

Summary of Changes

cleaned all paths to ensure platform proper styling with no mixed platform cases.
no extra '/' in path

Testing Instructions

put preceding '/' in file in HTMLHelper:: call like below..
if($customCSS){ HTMLHelper::_('stylesheet', '/custom.css', $HTMLHelperOptions); }

Expected result

'<link'> or <script> is created with proper pathing

Actual result

// between base and filename.
Mixed case of / and \ in path

Documentation Changes Required

none.

avatar N6REJ N6REJ - open - 14 Sep 2019
avatar N6REJ N6REJ - change - 14 Sep 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Sep 2019
Category Libraries Modules Front End
avatar N6REJ N6REJ - change - 14 Sep 2019
Title
19048
clean path in HTMLHelper:: & prevent duplicate /
avatar N6REJ N6REJ - edited - 14 Sep 2019
avatar viocassel viocassel - test_item - 14 Sep 2019 - Tested successfully
avatar viocassel
viocassel - comment - 14 Sep 2019

I have tested this item successfully on e1baf5f


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

avatar brianteeman
brianteeman - comment - 14 Sep 2019

Sorry @N6REJ this pr is not correct. When you created the branch you did it from the branch you did your sr-only work in. You should always create your new branch from the current upstream branch

avatar N6REJ
N6REJ - comment - 14 Sep 2019

crap crap crap...
yep, I knew that, forgot to switch back first.. I'll fix it right away.

avatar N6REJ N6REJ - change - 14 Sep 2019
Labels Added: ?
avatar N6REJ
N6REJ - comment - 14 Sep 2019

@brianteeman it's weird cause I was sure I was careful ( and I was N6REJ@e1baf5f ) but I see what your saying.
Did I fix it right?

avatar brianteeman
brianteeman - comment - 14 Sep 2019

Did I fix it right?

Look on github - you can see that you did not

avatar N6REJ
N6REJ - comment - 14 Sep 2019

@brianteeman I did look but now its an even bigger mess sigh.. I'm closing thing then redoing it... YET AGAIN...

avatar N6REJ N6REJ - change - 14 Sep 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-09-14 18:04:47
Closed_By N6REJ
avatar N6REJ N6REJ - close - 14 Sep 2019
avatar SharkyKZ
SharkyKZ - comment - 15 Sep 2019

Why would you add a leading slash in the first place though?

avatar N6REJ
N6REJ - comment - 15 Sep 2019

valid point but I've seen it done with the previous method that most are used to. I'd say its more proactive then necessary.

avatar N6REJ
N6REJ - comment - 15 Sep 2019

just fyi there is a new pr for this. #26303

Add a Comment

Login with GitHub to post a comment