[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Encoding in t:jshowurl  XML
Forum Index -> Development
Author Message
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

Hi!

might the url encoding within t:jshowurl incorrect?
Example:
<t:beanprocessing>
<t:jshowurl trigger="#{d.EditorTestUI.showUrlTrigger}" url="http://www.greenfield-solutions.de/#!4711" />
</t:beanprocessing>

The "#" is encoded to "%23", which make the URL invalid for Vaadin-use.
For RFC 3986 this should be a valid character:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=

Kind regards
Roland
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5534
Offline

...but you can "escape" any characters within a URL!

Also check: https://www.w3schools.com/tags/ref_urlencode.asp

Regards, Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5534
Offline

...have to admit: what I said was OK, but only for the query parameter part of the URL. You were talking about the URL-address-part - and there "#" has a meaning...

So: the transformation is not done any longer for "#" in the URL. Available with next update.

Thanks, Roland + Regards!
Björn

Björn Müller, CaptainCasa GmbH
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

thanks...!
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team