From a44e2ced3676629c4c532e1896016c9852b86d6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Tue, 2 Dec 2014 10:24:08 +0200 Subject: [PATCH] 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(-) 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 -- 2.39.5