This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#802 closed defect (fixed)

Line breaks in HTTP headers

Reported by: pferreir Owned by: arescope
Priority: normal Milestone: v0.98.1
Component: General Version: 0.98-dev
Keywords: Cc:

Description

We are all the time receiving tracebacks like these in production.

2011-05-19 12:36:39,672 indico.wsgi - ERROR indico_wsgi_handler_utils.py:638 -- WSGI Exception
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/indico/web/wsgi/indico_wsgi_handler.py", line 86, in application
    mp_legacy_publisher(req, possible_module, possible_handler)
  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/indico/web/wsgi/indico_wsgi_handler.py", line 217, in mp_legacy_publisher
    return _check_result(req, module_globals[possible_handler](req, **form))
  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/indico/web/wsgi/indico_wsgi_handler_utils.py", line 626, in _check_result
    req.write(result)
  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/indico/web/wsgi/indico_wsgi_handler.py", line 343, in write
    self.flush()
  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/indico/web/wsgi/indico_wsgi_handler.py", line 351, in flush
    self.__write(self.__buffer)
ValueError: embedded newline in response header with name 'Content-Disposition' and value 'inline; filename="Multihadron production  in hadronic and nuclear
collisions - contribution.xml"'

Change History (3)

comment:1 Changed 4 years ago by arescope

  • Status changed from new to awaiting_merge

comment:2 Changed 4 years ago by Alberto Resco Perez <alberto.resco.perez@…>

  • Resolution set to fixed
  • Status changed from awaiting_merge to closed

In [057a8c58e02f46decd7e21ed2b8f60b96e054673/indico]:

[FIX] Line breaks HTTP Headers

  • Replaces the return with spaces.
  • Closes #802

comment:3 Changed 4 years ago by Alberto Resco Perez <alberto.resco.perez@…>

In [057a8c58e02f46decd7e21ed2b8f60b96e054673/indico]:

[FIX] Line breaks HTTP Headers

  • Replaces the return with spaces.
  • Closes #802
Note: See TracTickets for help on using tickets.