Mercurial > public > src > rhodecode
changeset 2246:ad127a5cef73 beta
fixed comments issue on non-ascii file names
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 21 Mar 2012 17:59:59 +0200 |
parents | d25bd432bc3e |
children | 50aa7cb78cfe |
files | rhodecode/lib/helpers.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/helpers.py Tue Mar 20 23:28:41 2012 +0200 +++ b/rhodecode/lib/helpers.py Wed Mar 21 17:59:59 2012 +0200 @@ -68,7 +68,7 @@ :param path: """ - return 'C-%s-%s' % (short_id(raw_id), md5(path).hexdigest()[:12]) + return 'C-%s-%s' % (short_id(raw_id), md5(safe_str(path)).hexdigest()[:12]) def get_token():