[Trac-tickets] [The Trac Project] #3138: attachment upload error when using https

The Trac Project noreply at edgewall.com
Thu May 11 08:15:31 CDT 2006


#3138: attachment upload error when using https
---------------------------------------+------------------------------------
 Reporter:  adi at drcomp.erfurt.thur.de  |       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/>


More information about the Trac-Tickets mailing list