Commit dad9c4e8 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Strip unnecessary spaces from the shortened url.

parent 9cceca85
......@@ -22,7 +22,7 @@ def index(request):
url =
url.owner = request.user
short = url_form.cleaned_data.get('short')
short = url_form.cleaned_data.get('short').strip()
url.short = short
expires = url_form.cleaned_data.get('expires')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment