cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject [2/2] git commit: updated refs/heads/4.2 to 84151fd
Date Thu, 01 Aug 2013 18:41:26 GMT
CLOUDSTACK-3344: UI > util > _s() should not include ampersand.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ef8e04a1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ef8e04a1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ef8e04a1

Branch: refs/heads/4.2
Commit: ef8e04a1a6ee39a6415c8418fedbac25f10a259f
Parents: 4fb4afb
Author: Jessica Wang <jessicawang@apache.org>
Authored: Thu Aug 1 11:34:35 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Thu Aug 1 11:41:15 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui/utils.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ef8e04a1/ui/scripts/ui/utils.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/utils.js b/ui/scripts/ui/utils.js
index aeaf02b..769aea7 100644
--- a/ui/scripts/ui/utils.js
+++ b/ui/scripts/ui/utils.js
@@ -90,8 +90,7 @@
             return '';
         }
 
-        var sanitized = value
-            .replace(/&/g, "&amp;")
+        var sanitized = value            
             .replace(/</g, "&lt;")
             .replace(/>/g, "&gt;");
 


Mime
View raw message