Mercurial > kallithea
diff rhodecode/templates/files/files_browser.html @ 1176:014c9a58a0d9 beta
fixes for issues #137 and #116 safe_unicode is now default for handling file names
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 24 Mar 2011 16:35:53 +0100 |
parents | f3d8ff6f96cc |
children | 5a96551ee9c0 |
line wrap: on
line diff
--- a/rhodecode/templates/files/files_browser.html Wed Mar 23 20:58:12 2011 +0100 +++ b/rhodecode/templates/files/files_browser.html Thu Mar 24 16:35:53 2011 +0100 @@ -66,7 +66,7 @@ %for cnt,node in enumerate(c.files_list): <tr class="parity${cnt%2}"> <td> - ${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=node.path.decode('utf-8','replace')),class_=file_class(node))} + ${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=h.safe_unicode(node.path)),class_=file_class(node))} </td> <td> %if node.is_file():