Ticket #1112: trac-0.8-attachments.patch
| File trac-0.8-attachments.patch, 0.5 kB (added by bitserf@…, 4 years ago) |
|---|
-
File.py
old new 137 137 urllib.quote(self.attachment_id), 138 138 urllib.quote(self.filename)) 139 139 try: 140 fd = open( self.path, 'rb')140 fd = open(urllib.unquote(self.path), 'rb') 141 141 except IOError: 142 142 raise util.TracError('Attachment not found') 143 143
