#3138: attachment upload error when using https
---------------------------------------+------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.9.5
Severity: normal | Keywords:
---------------------------------------+------------------------------------
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.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/3138>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets