On Fri, 2007-07-06 at 07:25 -0700, web-junkie wrote: > Thanks for your reply. I'll give more information: > > # c:\django_src\django\core\handlers\base.py in get_response > > 77. response = callback(request, *callback_args, > **callback_kwargs) ... > > # c:\django_src\django\contrib\syndication\views.py in feed > > 19. feedgen = f(slug, request.path).get_feed(param) ... > > # c:\django_src\django\contrib\syndication\feeds.py in get_feed > > 81. feed_url = add_domain(current_site, > self.__get_dynamic_attr('feed_url', obj)), ... > > # c:\django_src\django\contrib\syndication\feeds.py in add_domain > > 13. url = u'http://%s%s' % (domain, url) ... > > print repr(domain) and print repr(url) in add_comain produces > > u'www.example.com' > '/gie%C3%9Fen/' > <Site: www.example.com> > '/feeds/gie\xc3\x9fen/'
And so we see the advantage of providing details about how a problem occurs. This makes things clear. :-) It's a bug. I'll fix it tomorrow morning because I'm doing something else right now and about to stop for the evening. Plus I want to think a bit about what the right approach is for cases like this -- possibly we should be converting request.path to an IRI portion when we construct the HttpRequest. Maybe not. No need to worry about opening a ticket. I've made a note and will look at it first thing. Regards, Malcolm -- He who laughs last thinks slowest. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---