summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJuho Nurminen <juho@vaadin.com>2014-02-03 17:18:45 +0200
committerHenri Sara <hesara@vaadin.com>2014-02-11 11:58:49 +0000
commite680b8f55fadd00fc2a738296d44390eba322e32 (patch)
tree0093ef81fcc4eefe8ea38149f301b5db9f8fc644 /client
parentd88e4090a14ef3670232ad1b4a83c7260db36f9c (diff)
downloadvaadin-framework-e680b8f55fadd00fc2a738296d44390eba322e32.tar.gz
vaadin-framework-e680b8f55fadd00fc2a738296d44390eba322e32.zip
Changed getAbsoluteUrl to use the correct escaping method (#13311)
Change-Id: I84cece7ae1c8ede0b77b82d0f84d6550e77af65b
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/Util.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/Util.java b/client/src/com/vaadin/client/Util.java
index 55d3d13c19..aae3dd5458 100644
--- a/client/src/com/vaadin/client/Util.java
+++ b/client/src/com/vaadin/client/Util.java
@@ -1343,7 +1343,8 @@ public class Util {
divElement.getStyle().setDisplay(Display.NONE);
RootPanel.getBodyElement().appendChild(divElement);
- divElement.setInnerHTML("<a href='" + escapeHTML(url) + "' ></a>");
+ divElement.setInnerHTML("<a href='" + escapeAttribute(url)
+ + "' ></a>");
AnchorElement a = divElement.getChild(0).cast();
String href = a.getHref();