[Pkg-owncloud-commits] [owncloud] 370/394: Sanitize quota

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:12:52 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit 2364c792f5da832aced59f1c07d7d15495b7fbd4
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Mon Mar 4 13:10:20 2013 +0100

    Sanitize quota
    
    Backport to stable45 of #2060
---
 settings/js/users.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/settings/js/users.js b/settings/js/users.js
index bb3e84d..b35d8d1 100644
--- a/settings/js/users.js
+++ b/settings/js/users.js
@@ -111,7 +111,7 @@ var UserList={
 			if (quotaSelect.find('option[value="'+quota+'"]').length > 0) {
 				quotaSelect.find('option[value="'+quota+'"]').attr('selected', 'selected');
 			} else {
-				quotaSelect.append('<option value="'+quota+'" selected="selected">'+quota+'</option>');
+				quotaSelect.append('<option value="'+escapeHTML(quota)+'" selected="selected">'+escapeHTML(quota)+'</option>');
 			}
 		}
 		var added = false;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list