diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-04-13 15:24:35 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-04-13 15:24:35 +0200 |
commit | 6e424eb990e7640f6d8f2cb25fe97024ebd95a05 (patch) | |
tree | 424e21668ddfbf6566c388c538622cbde41cd099 /core/js/js.js | |
parent | 9de3c1b59d808b9725e728a2956f66b1d02274fe (diff) | |
download | nextcloud-server-6e424eb990e7640f6d8f2cb25fe97024ebd95a05.tar.gz nextcloud-server-6e424eb990e7640f6d8f2cb25fe97024ebd95a05.zip |
Also encode > and '
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index f10c7163092..b712da4bd02 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -151,7 +151,7 @@ function n(app, text_singular, text_plural, count, vars) { * @return Sanitized string */ function escapeHTML(s) { - return s.toString().split('&').join('&').split('<').join('<').split('"').join('"'); + return s.toString().split('&').join('&').split('<').join('<').split('>').join('>').split('"').join('"').split('\'').join('''); } /** |