Re: Error from URLs with non-ascii characters and that need login
Okay, I did that. http://code.djangoproject.com/ticket/5308 On Aug 14, 11:09 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2007-08-10 at 05:05 -0700, web-junkie wrote: > > Okay, after further investigation the error appears for me too, not > > just googlebot. When I browse the site as anonymous user and click a > > link with encoded Unicode in URL, and if that links needs login, I get > > an error. > > Seems to be a bug in the checklogin decorator. > > If you could file a ticket for this, including a short description of > how to repeat the problem, that would be brilliant. It will mean we > don't forget to fix it (the volume on this list is too high for us to > remember which particular pieces of email might or might not have > mentioned bugs). > > Thanks, > Malcolm > > -- > Save the whales. Collect the whole set.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 -~--~~~~--~~--~--~---
Re: Error from URLs with non-ascii characters and that need login
On Fri, 2007-08-10 at 05:05 -0700, web-junkie wrote: > Okay, after further investigation the error appears for me too, not > just googlebot. When I browse the site as anonymous user and click a > link with encoded Unicode in URL, and if that links needs login, I get > an error. > Seems to be a bug in the checklogin decorator. If you could file a ticket for this, including a short description of how to repeat the problem, that would be brilliant. It will mean we don't forget to fix it (the volume on this list is too high for us to remember which particular pieces of email might or might not have mentioned bugs). Thanks, Malcolm -- Save the whales. Collect the whole set. 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 -~--~~~~--~~--~--~---
Re: Error from URLs with non-ascii characters and that need login
Okay, after further investigation the error appears for me too, not just googlebot. When I browse the site as anonymous user and click a link with encoded Unicode in URL, and if that links needs login, I get an error. Seems to be a bug in the checklogin decorator. On Aug 8, 3:34 pm, web-junkie <[EMAIL PROTECTED]> wrote: > Hi, > > I get that error emailed, apparently Google tries to crawl pages that > need a login. Now when there's Unicode in the URL this error is > raised. > Can anyone tell me why I get this error? It's really just Google's > crawl, when I surf the site everything works fine. > > Traceback (most recent call last): > > File "/usr/local/lib/python2.4/site-packages/django/core/handlers/ > base.py", line 77, in get_response >response = callback(request, *callback_args, **callback_kwargs) > > File "/usr/local/lib/python2.4/site-packages/django/contrib/auth/ > decorators.py", line 18, in _checklogin >return HttpResponseRedirect('%s?%s=%s' % (login_url, > REDIRECT_FIELD_NAME, quote(request.get_full_path( > > File "/usr/local/lib/python2.4/urllib.py", line 1117, in quote >res = map(safe_map.__getitem__, s) > > KeyError: u'\xdf' > > , > \nPOST:,\nCOOKIES:{},\nMETA:{'AUTH_TYPE': None,\n > 'CONTENT_LENGTH': 0L,\n 'CONTENT_TYPE': None,\n 'GATEWAY_INTERFACE': > 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_ACCEPT_ENCODING': 'gzip',\n > 'HTTP_CONNECTION': 'Keep-alive',\n 'HTTP_FROM': > 'googlebot(at)googlebot.com',\n [...] --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Error from URLs with non-ascii characters and that need login
Hi, I get that error emailed, apparently Google tries to crawl pages that need a login. Now when there's Unicode in the URL this error is raised. Can anyone tell me why I get this error? It's really just Google's crawl, when I surf the site everything works fine. Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/django/core/handlers/ base.py", line 77, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python2.4/site-packages/django/contrib/auth/ decorators.py", line 18, in _checklogin return HttpResponseRedirect('%s?%s=%s' % (login_url, REDIRECT_FIELD_NAME, quote(request.get_full_path( File "/usr/local/lib/python2.4/urllib.py", line 1117, in quote res = map(safe_map.__getitem__, s) KeyError: u'\xdf' , \nPOST:,\nCOOKIES:{},\nMETA:{'AUTH_TYPE': None,\n 'CONTENT_LENGTH': 0L,\n 'CONTENT_TYPE': None,\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_ACCEPT_ENCODING': 'gzip',\n 'HTTP_CONNECTION': 'Keep-alive',\n 'HTTP_FROM': 'googlebot(at)googlebot.com',\n [...] --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---