Permalink
Browse files

* also rewrite urls if schema is https

  • Loading branch information...
1 parent 2dcd3bd commit ead0a2dda5eb4208d2c4f80bc3b8fabdd2f4f685 @kux kux committed Dec 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 filertags/signals.py
@@ -116,7 +116,7 @@ def change_urls(match):
# strip spaces and quotes
url = match.group(1).strip('\'\" ')
parsed_url = urlparse.urlparse(url)
- if parsed_url.netloc or parsed_url.scheme not in ['', 'http']:
+ if parsed_url.netloc or parsed_url.scheme not in ['', 'http', 'https']:
# ignore everyghing which is not served through http
# or explicitly specifies a hostname; these are resources
# not served from filer

0 comments on commit ead0a2d

Please sign in to comment.