Django

Code

Changeset 7050

Show
Ignore:
Timestamp:
01/31/08 16:31:38 (10 months ago)
Author:
gwilson
Message:

Fixed #6508 -- Fixed add_domain function to also work with https feed URLs, thanks Uninen.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/syndication/feeds.py

    r6570 r7050  
    77 
    88def add_domain(domain, url): 
    9     if not url.startswith('http://'): 
     9    if not (url.startswith('http://') or url.startswith('https://')): 
    1010        # 'url' must already be ASCII and URL-quoted, so no need for encoding 
    1111        # conversions here.