yireo-joomla / pkg_scriptmerge

GNU General Public License v3.0
7 stars 10 forks source link

Fix Link Preload URL generation #25

Closed robobenklein closed 7 years ago

robobenklein commented 7 years ago

Check if local link starts with a /, if so, remove the trailing / from JUri::base.

My fix for https://github.com/yireo/pkg_scriptmerge/issues/24

Let me know if I need to change something.

robobenklein commented 7 years ago

Also just fixed the strange & url encoding in the header with 06a7d2fdf899dc3f0d6e3df87395a90a776a99f1

robobenklein commented 7 years ago

Before changes: image

After changes: image

I think the issue is fixed, let me know if I forgot anything.

jissereitsma commented 7 years ago

Thanks for the fix. Seems solid to me.