From 75ff9abaca2f1a067be3fce10794835b857e5cba Mon Sep 17 00:00:00 2001
From: Brice Maron <brice@bmaron.net>
Date: Sun, 6 Nov 2011 00:39:11 +0100
Subject: [PATCH] Fix another problem of the so-called 'fix-special chars'
 commit.

---
 files/js/files.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files/js/files.js b/files/js/files.js
index 5adf67010b..0af2b9285b 100644
--- a/files/js/files.js
+++ b/files/js/files.js
@@ -1,7 +1,7 @@
 $(document).ready(function() {
 	$('#fileList tr').each(function(){
 		//little hack to set unescape filenames in attribute
-		$(this).attr('data-file',unescape($(this).attr('data-file')));
+		$(this).attr('data-file',decodeURI($(this).attr('data-file')));
 	});
 		
 	if($('tr[data-file]').length==0){
-- 
GitLab