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.
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@gmail.commailto:manaa.sabine@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@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Hi Karsten,
thank you! I just found out that
aHtmlRoot javascript url: ' http://npmcdn.com/leaflet@1.0.0-rc.3/dist/leaflet.js' works.
Regards Sabine
2016-08-10 14:43 GMT+02:00 Karsten Kusche [via Smalltalk] < ml-node+s1294792n4910313h98@n4.nabble.com>:
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 ([hidden email] http:///user/SendEmail.jtp?type=node&node=4910313&i=0) 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 [hidden email] http:///user/SendEmail.jtp?type=node&node=4910313&i=1 http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
seaside mailing list [hidden email] http:///user/SendEmail.jtp?type=node&node=4910313&i=2 http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
If you reply to this email, your message will be added to the discussion below: http://forum.world.st/WAUrl-absolute-encoding-for-url- with-tp4910307p4910313.html To start a new topic under Seaside General, email ml-node+s1294792n86180h75@n4.nabble.com To unsubscribe from WAUrl absolute encoding for url with @, click here http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4910307&code=bWFuYWEuc2FiaW5lQGdtYWlsLmNvbXw0OTEwMzA3fC0xOTE3OTcxOTg5 . NAML http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
-- View this message in context: http://forum.world.st/WAUrl-absolute-encoding-for-url-with-tp4910307p4910321... Sent from the Seaside General mailing list archive at Nabble.com.
seaside@lists.squeakfoundation.org