[Seaside] WAUrl absolute encoding for url with @

Karsten Kusche karsten at heeg.de
Wed Aug 10 12:43:22 UTC 2016


Hi Sabine,

That’s probably a bug in one of the #decode: methods on class-side or #encodeOn: decides to encode the @ as Percent-Encoding.
If it’s a bug in the #decode: methods you can create an empty WAUrl and add parts to the path manually. If it’s a bug in the #encodeOn: Methode you may need to fix the method.

Karsten


Am 10. August 2016 um 13:39:59, Sabine Manaa (manaa.sabine at gmail.com<mailto:manaa.sabine at gmail.com>) schrieb:

Hi,

I want to add the following url to my header.
aHtmlRoot script url: (WAUrl absolute:
'https://npmcdn.com/leaflet@1.0.0-rc.3/dist/leaflet.js')

It fails (because of the encoding(?)) - it tries to load this:
https://npmcdn.com/leaflet%401.0.0-rc.3/dist/leaflet.js

Can anyone give me a hint what to do with the WAUrl to render correctly?
I assume it is easy but I don't get it.

Regards
Sabine



--
View this message in context: http://forum.world.st/WAUrl-absolute-encoding-for-url-with-tp4910307.html
Sent from the Seaside General mailing list archive at Nabble.com.
_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20160810/118be7b6/attachment.htm


More information about the seaside mailing list