diff options
author | Leif Åstrand <leif@vaadin.com> | 2014-12-02 10:24:08 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-12-02 13:21:59 +0000 |
commit | 3cad153ba405fa60583925db7fee111ec326794f (patch) | |
tree | 82c1fd2e61f0776134b8ff2088c7bbddc748c5a0 /client | |
parent | 53f87e5bf3014382f0bf9cd7acb18c56709ba1f7 (diff) | |
download | vaadin-framework-3cad153ba405fa60583925db7fee111ec326794f.tar.gz vaadin-framework-3cad153ba405fa60583925db7fee111ec326794f.zip |
Escape themeUri before rewriting CustomLayout HTML. (#15309)
Change-Id: I192691ac02bf3a98df1424dead5e4fd6385e395d
Diffstat (limited to 'client')
-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 |