Opened 20 years ago
Closed 19 years ago
#3138 closed defect (wontfix)
attachment upload error when using https
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.9.5 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
trac fails to save attachments when using https.
Trac detected an internal error:
'attachment'
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/fcgi_frontend.py", line 40, in _handler
dispatch_request(req.path_info, req, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 267, in process_request
self._do_save(req, attachment)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 297, in _do_save
upload = req.args['attachment']
File "/usr/lib/python2.3/cgi.py", line 552, in __getitem__
raise KeyError, key
KeyError: 'attachment'
Uploads via http (not https) are working correctly.
Attachments (1)
Change History (3)
by , 20 years ago
| Attachment: | file_upload_error added |
|---|
comment:1 by , 20 years ago
Must be FastCGI specific as I am using trac via https with mod_python with no problem.
comment:2 by , 19 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → wontfix |
| Status: | new → closed |
Well, since about a year there has been no similar reports and nobody apparently could reproduce this, so I'm closing it.
If someone still experiences this for a recent Trac version (i.e. not for 0.9), please reopen, with more details about your (CGI, FastCGI, Apache versions, platform, etc.)



file upload error when using https