[Pkg-owncloud-commits] [owncloud] 24/67: Sanitize user input
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:10:35 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.1
in repository owncloud.
commit 12636047030c5db7309434cc7e855e77e53572c3
Author: Lukas Reschke <lukas at statuscode.ch>
Date: Fri Oct 12 14:08:06 2012 +0200
Sanitize user input
---
apps/files_versions/js/versions.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js
index 87396cd..07c5655 100644
--- a/apps/files_versions/js/versions.js
+++ b/apps/files_versions/js/versions.js
@@ -45,7 +45,7 @@ function createVersionsDropdown(filename, files) {
var historyUrl = OC.linkTo('files_versions', 'history.php') + '?path='+encodeURIComponent( $( '#dir' ).val() ).replace( /%2F/g, '/' )+'/'+encodeURIComponent( filename );
- var html = '<div id="dropdown" class="drop drop-versions" data-file="'+files+'">';
+ var html = '<div id="dropdown" class="drop drop-versions" data-file="'+escapeHTML(files)+'">';
html += '<div id="private">';
html += '<select data-placeholder="Saved versions" id="found_versions" class="chzen-select" style="width:16em;">';
html += '<option value=""></option>';
--
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