Ticket #6508: add_domain.diff

File add_domain.diff, 580 bytes (added by Ville Säävuori, 17 years ago)

Fixed diff root

  • django/contrib/syndication/feeds.py

     
    66from django.conf import settings
    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.
    1212        url = iri_to_uri(u'http://%s%s' % (domain, url))
Back to Top