From 3cad153ba405fa60583925db7fee111ec326794f Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Tue, 2 Dec 2014 10:24:08 +0200 Subject: Escape themeUri before rewriting CustomLayout HTML. (#15309) Change-Id: I192691ac02bf3a98df1424dead5e4fd6385e395d --- client/src/com/vaadin/client/ui/VCustomLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/src/com/vaadin/client/ui/VCustomLayout.java b/client/src/com/vaadin/client/ui/VCustomLayout.java index 3b2b007b5b..f5d572007a 100644 --- a/client/src/com/vaadin/client/ui/VCustomLayout.java +++ b/client/src/com/vaadin/client/ui/VCustomLayout.java @@ -158,7 +158,7 @@ public class VCustomLayout extends ComplexPanel { // TODO prefix img src:s here with a regeps, cannot work further with IE - String relImgPrefix = themeUri + "/layouts/"; + String relImgPrefix = Util.escapeAttribute(themeUri + "/layouts/"); // prefix all relative image elements to point to theme dir with a // regexp search -- cgit v1.2.3