GWT Anchor setHref wipes out urlencoded string
Posted
by user326429
on Stack Overflow
See other posts from Stack Overflow
or by user326429
Published on 2010-05-15T05:39:59Z
Indexed on
2010/05/15
5:44 UTC
Read the original article
Hit count: 324
I am using GWT Anchor, but when I pass a url encoded string to the setHref function, the browser displays the link in a decoded format. What's the reason for this? Is there a fix for it?
Anchor a = new Anchor();
a.setHref(URL.encode(someString));
© Stack Overflow or respective owner