Django

Code

Ticket #4300 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

views/debug.py: exc_value might contain unkown encodings

Reported by: Thomas Güttler <hv@tbz-pariv.de> Assigned to: jacob
Milestone: Component: Uncategorized
Version: SVN Keywords: unicode-branch
Cc: Triage Stage: Accepted
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Hi,

here is a patch for views/debug.py. The exc_value might contain unknown encodings. Try latin1 and utf8, but don't fail.

Attachments

views_debug_py.diff (0.7 kB) - added by Thomas Güttler <hv@tbz-pariv.de> on 05/15/07 03:03:53.

Change History

05/15/07 03:03:53 changed by Thomas Güttler <hv@tbz-pariv.de>

  • attachment views_debug_py.diff added.

05/22/07 03:22:55 changed by mtredinnick

(In [5315]) unicode: Encoded exception data safely in traceback output. Thanks, Thomas G?\195?\188ttler. Refs #4300.

05/22/07 03:23:57 changed by mtredinnick

  • keywords set to unicode-branch.
  • needs_better_patch changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • needs_docs changed.

I've fixed this on the unicode-branch. Will close this ticket once the branch is merged back into trunk.

07/04/07 07:11:05 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

(In [5609]) Merged Unicode branch into trunk (r4952:5608). This should be fully backwards compatible for all practical purposes.

Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702


Add/Change #4300 (views/debug.py: exc_value might contain unkown encodings)




Change Properties
Action