Edgewall Software
Modify

Opened 18 years ago

Closed 17 years ago

#3138 closed defect (wontfix)

attachment upload error when using https

Reported by: adi@… 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 Christian Boos)

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)

file_upload_error (4.1 KB ) - added by adi@… 18 years ago.
file upload error when using https

Download all attachments as: .zip

Change History (3)

by adi@…, 18 years ago

Attachment: file_upload_error added

file upload error when using https

comment:1 by Markus Tacker <m@…>, 18 years ago

Must be FastCGI specific as I am using trac via https with mod_python with no problem.

comment:2 by Christian Boos, 17 years ago

Description: modified (diff)
Resolution: wontfix
Status: newclosed

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.)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.