[icinga-checkins] icinga.org: icinga-web/next: Image open popup URL encoding

git at icinga.org git at icinga.org
Mon Apr 29 16:55:30 CEST 2013


Module: icinga-web
Branch: next
Commit: bd254af9a9d0458c28cd82b497862f4fa6b2a7e9
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=bd254af9a9d0458c28cd82b497862f4fa6b2a7e9

Author: Marius Hein <marius.hein at netways.de>
Date:   Mon Apr 29 16:37:51 2013 +0200

Image open popup URL encoding

Fix missing encode URI bug when open image popups
from grids (new events)

fixes #4004

---

 .../Cronks/lib/js/Cronk/grid/handler/URL.js        |    2 +-
 doc/CHANGELOG-1.9                                  |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/app/modules/Cronks/lib/js/Cronk/grid/handler/URL.js b/app/modules/Cronks/lib/js/Cronk/grid/handler/URL.js
index 2102b5e..26565bd 100644
--- a/app/modules/Cronks/lib/js/Cronk/grid/handler/URL.js
+++ b/app/modules/Cronks/lib/js/Cronk/grid/handler/URL.js
@@ -141,7 +141,7 @@ Ext.ns("Cronk.grid.handler");
             var args = this.getHandlerArgsTemplated();
             
             var ignoreTags = ["src"];
-            var src = args.src;
+            var src = encodeURI(args.src);
             var tags = [];
             
             Ext.iterate(args, function(key, val) {    
diff --git a/doc/CHANGELOG-1.9 b/doc/CHANGELOG-1.9
index b6e9e41..2ad1649 100644
--- a/doc/CHANGELOG-1.9
+++ b/doc/CHANGELOG-1.9
@@ -88,6 +88,7 @@ Bugs
  * HTML links are not displayed properly in host services view column (#3960)
  * Fix SQL grouping in LegacyApi not working (#3988)
  * Fix default preferences not being overwritten (#3990)
+ * Image open popup URL encoding (#4004)
 
 Features and Changes
 





More information about the icinga-checkins mailing list