Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed Encoding/Decoding exception that happened for milestone names w…

…ith diacritics.
  • Loading branch information...
commit 086ea407cd3f90e57415e9db550e5f8d298a1461 1 parent 24fbd8a
@filipefigcorreia authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  0.12/sumstats/web_ui.py
View
2  0.12/sumstats/web_ui.py
@@ -243,7 +243,7 @@ def _get_milestone(self, req):
milestone_re = re.compile(r"/milestone/(?P<milestone>[^?]+)")
match = milestone_re.search(path)
if match:
- name = urllib.unquote(match.groupdict()['milestone'])
+ name = urllib.unquote(match.groupdict()['milestone']).decode("utf-8")
for m in Milestone.select(self.env, include_completed=True):
if m.name == name:
return m

0 comments on commit 086ea40

Please sign in to comment.
Something went wrong with that request. Please try again.