Ticket #5349: 3.diff

File 3.diff, 756 bytes (added by anonymous, 17 years ago)
  • django/contrib/syndication/feeds.py

     
    106106            enc_url = self.__get_dynamic_attr('item_enclosure_url', item)
    107107            if enc_url:
    108108                enc = feedgenerator.Enclosure(
    109                     url = smart_unicode(enc_url),
     109                    url = add_domain(current_site.domain, smart_unicode(enc_url)),
    110110                    length = smart_unicode(self.__get_dynamic_attr('item_enclosure_length', item)),
    111111                    mime_type = smart_unicode(self.__get_dynamic_attr('item_enclosure_mime_type', item))
    112112                )
Back to Top