Opened 17 years ago
Closed 17 years ago
#5595 closed (fixed)
ModPythonRequest __repr__ is attempting to return a unicode object
Reported by: | Gary Wilson | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
And this is causing the repr of a ModPythonRequest object to have backslashes escaped, which is causing newlines not to be interpreted (noticed in my server errors coming to me via email).
Attachments (1)
Change History (4)
by , 17 years ago
comment:1 by , 17 years ago
Has patch: | set |
---|
I do need the unicode() calls for python2.3 compatibility, right?
comment:2 by , 17 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
Gary, if these tests pass feel free to check this in; looks fine to me. IIRC you're right about needing the unicode() calls but it doesn't hurt if they're extraneous.
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
made use of smart_str in ModPythonRequest repr