Skip to content

Commit

Permalink
Merge branch 'releases/0.1' of github.com:tangentlabs/django-oscar in…
Browse files Browse the repository at this point in the history
…to releases/0.1
  • Loading branch information
codeinthehole committed Jan 10, 2012
2 parents a88c60a + a7ec582 commit 98c9044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oscar/core/validators.py
Expand Up @@ -32,5 +32,5 @@ def fix_local_url(self, value):
Puts preceding and trailing slashes to local URL name
"""
if value != '/':
value = '/' + value.strip('/') + '/'
value = '/' + value.lstrip('/')
return value

0 comments on commit 98c9044

Please sign in to comment.