Bug #277334 “UnicodeDecodeError with non-ASCII chars in the URL” : Bugs : web.py

UnicodeDecodeError with non-ASCII chars in the URL

Bug #277334 reported by Juan Pablo Scaletti
2
Affects Status Importance Assigned to Milestone
web.py
Fix Released
High
Anand Chitipothu

Bug Description

With 0.3, when I run:

import web
urls = ( '/(.*)', 'hello' )
app = web.application(urls, globals())

class hello:
    def GET(self, name):
        return 'Hello ' + name + '!'

if __name__ == "__main__": app.run()

and try to use a non-ASCII char in the URL like 'http://example/extraño' it raise an UnicodeDecodeError

This doesn't happen with 0.23

Tags: 0.3
Aaron Swartz (aaronsw)
Changed in webpy:
assignee: nobody → anandology
importance: Undecided → High
milestone: none → 0.3
status: New → Confirmed
Revision history for this message
Anand Chitipothu (anandology) wrote :

fixed.

Changed in webpy:
status: Confirmed → Fix Committed
Changed in webpy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Loading subscribers...

Remote bug watches

Bug watches keep track of this bug in other bug trackers.