Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't append slashes to absolute URLs

This prevented instant redirects to media files by specifying absolute media file URLs
  • Loading branch information...
commit 9205adca36ec51b85521eea6b5e49733b4daa66e 1 parent 0b4f7d2
@dbunskoek dbunskoek authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  fiber/models.py
View
2  fiber/models.py
@@ -106,7 +106,7 @@ def get_absolute_url(self):
if self.url == '':
return ''
if self.url.startswith('/'):
- return '%s/' % self.url.rstrip('/')
+ return self.url
elif self.url.startswith('http://') or self.url.startswith('https://'):
return self.url
else:
Please sign in to comment.
Something went wrong with that request. Please try again.