Ticket #1112 (closed defect: fixed)
attachments with spaces in filename
| Reported by: | bitserf@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | general | Version: | 0.8 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
hi,
when clicking the ticket link to view/download an attachment with a space or other special character in the file name, Trac fails with an "attachment not found" error, though the attachment exists on the filesystem.
this would appear to be because the filename still contains URL encoded components, and File.py doesn't unescape the filename it gets.
i've created a patch that works here, though i'm not sure that its at the correct place, perhaps the unescaping should occur earlier.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


