aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2014-12-02 10:24:08 +0200
committerSauli Tähkäpää <sauli@vaadin.com>2014-12-02 15:33:50 +0200
commita44e2ced3676629c4c532e1896016c9852b86d6c (patch)
tree12387f1115cf83e98bf17da1643fb0f7221d9acb
parent8484f25c150c068ccc3612e6059e3363eb6dc077 (diff)
downloadvaadin-framework-a44e2ced3676629c4c532e1896016c9852b86d6c.tar.gz
vaadin-framework-a44e2ced3676629c4c532e1896016c9852b86d6c.zip
Escape themeUri before rewriting CustomLayout HTML. (#15309)
Change-Id: I192691ac02bf3a98df1424dead5e4fd6385e395d
-rw-r--r--client/src/com/vaadin/client/ui/VCustomLayout.java2
1 files changed, 1 insertions, 1 deletions
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