[Pkg-owncloud-commits] [owncloud] 71/73: Encode the URI properly

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


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

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

commit b24c929cc0062a9ef65686203c92d11551a49591
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Sun Dec 16 11:24:01 2012 +0100

    Encode the URI properly
    
    Backport of eafa9b2
---
 apps/bookmarks/js/bookmarks.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/bookmarks/js/bookmarks.js b/apps/bookmarks/js/bookmarks.js
index 7f3104e..8d1a8aa 100644
--- a/apps/bookmarks/js/bookmarks.js
+++ b/apps/bookmarks/js/bookmarks.js
@@ -141,7 +141,7 @@ function updateBookmarksList(bookmark) {
 	var taglist = '';
 	for ( var i=0, len=tags.length; i<len; ++i ){
 		if(tags[i] != '')
-			taglist = taglist + '<a class="bookmark_tag" href="'+replaceQueryString( String(window.location), 'tag', encodeURIComponent(tags[i])) + '">' + tags[i] + '</a> ';
+			taglist = taglist + '<a class="bookmark_tag" href="'+replaceQueryString(escapeHTML(String(window.location)), 'tag', encodeURIComponent(tags[i])) + '">' + tags[i] + '</a> ';
 	}
 	if(!hasProtocol(bookmark.url)) {
 		bookmark.url = 'http://' + bookmark.url;

-- 
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