Opened 15 years ago
Closed 15 years ago
#12649 closed (fixed)
more helpful Unicode exceptions for CSRF migration helper script
Reported by: | Antti Kaihola | Owned by: | nobody |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | Keywords: | csrf migration helper script | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
If the CSRF migration helper script (extras/csrf_migration_helper.py
) encounters an HTML file which has invalid UTF-8, a standard UnicodeDecodeError
exception is thrown.
The problem is that the path of the bad HTML file is not mentioned in the error message.
Attachments (1)
Change History (2)
by , 15 years ago
Attachment: | 12649-csrf-migration-helper-file-path-in-unicode-exception.diff added |
---|
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
the path of the bad HTML file is appended to the exception error message