Im getting this error when playing with spaces on url: Traceback (most recent call last): File "/***/web2py/gluon/wsgiserver.py", line 762, in communicate req.parse_request() File "/***/web2py/gluon/wsgiserver.py", line 258, in parse_request self._parse_request() File "/***/web2py/gluon/wsgiserver.py", line 334, in _parse_request rp = int(req_protocol[5]), int(req_protocol[7]) ValueError: invalid literal for int() with base 10: 't'
I made suggested modification to main.py. Im using mod_proxy and mod_rewrite: RewriteRule ^browse/(.*) http://127.0.0.1:8007/kt/default/browse/$1 [P] Spaces in url does work (not raising error), if not using mod_rewrite. Im requesting http://127.0.0.1:8007/kt/default/browse/this is a test And debugging req_protocol gives: is a test HTTP/1.1 HTTP/1.1 -Marko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---