diff options
author | Leif Åstrand <leif@vaadin.com> | 2014-12-02 10:24:08 +0200 |
---|---|---|
committer | Sauli Tähkäpää <sauli@vaadin.com> | 2014-12-02 15:33:50 +0200 |
commit | a44e2ced3676629c4c532e1896016c9852b86d6c (patch) | |
tree | 12387f1115cf83e98bf17da1643fb0f7221d9acb | |
parent | 8484f25c150c068ccc3612e6059e3363eb6dc077 (diff) | |
download | vaadin-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.java | 2 |
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 |