#1130: logging crashes when URL contains unicode symbols and user is logged in
(mod_python system)
------------------------+---------------------------------------------------
Reporter: dado1945 | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 1.0b3
Component: TurboGears | Version: 1.0b1
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by dado1945):
- Thanks for fixing wiki ;)
- I can't reproduce this on console.
Yes, I'm referring to the very same line:
http://trac.turbogears.org/turbogears/browser/tags/1.0b1/turbogears/controllers.py#L450
URL is ascii but in line L450 it comes as UTF-8 encoded string. Example of
UTF-8 URL:
http://dado1945.storas.lt/wiki/lt/dado1945/Japoni%C5%A1kos%20%C4%AFdomyb%C4%97s
Problem is in line 439. When you log in username becomes unicode string:
http://trac.turbogears.org/turbogears/browser/tags/1.0b1/turbogears/controllers.py#L439
And turbogears fails to generate log entry (like in my given example with
\xc5\xbev\xc4\x97ris)
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1130>
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.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---