#2115: Write tg.url wrapper
------------------------+---------------------------------------------------
Reporter: mramm | Owner: faide
Type: defect | Status: closed
Priority: normal | Milestone: 2.0b2
Component: TurboGears | Version: trunk
Severity: normal | Resolution: fixed
Keywords: |
------------------------+---------------------------------------------------
Changes (by mramm):
* status: new => closed
* resolution: => fixed
Comment:
This is pretty much fixed n #6000. I was having trouble with iri_to_uri
from webhelpers, which did not encode all asci strings properly, which
turned out to be a problem in the quote function of urllib -- so now we
have our own encoder adapted from Joe Gregario's encoder in httplib2:
http://code.google.com/p/httplib2/source/browse/trunk/httplib2/iri2uri.py
I feel like this solution is a bit ugly and low-level to live in
turbogears2 itself, but I'm not sure what else to do at this point since
routes does not handle unicode.
--
Ticket URL: <http://trac.turbogears.org/ticket/2115#comment:2>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---