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

#811 closed defect (fixed)

Event export exception because a embeded newline in title

Reported by: arescope Owned by: arescope
Priority: high Milestone: v0.98.1
Component: General Version:
Keywords: Cc:

Description

To integrate in 0.98b1

2011-05-24 22:26:17,821 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="IHEPCCC (International High Energy Physics Computing
Coordinating Committee) - Event.ics"'

Change History (5)

comment:1 Changed 4 years ago by arescope

  • Priority changed from normal to high
  • Status changed from new to assigned

comment:2 Changed 4 years ago by arescope

  • Status changed from assigned to awaiting_merge

comment:3 Changed 4 years ago by jbenito

  • Status changed from awaiting_merge to merging

comment:4 Changed 4 years ago by jbenito

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

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

In [ecc645f8005180004196c527a488806a52afaf35/indico]:

[FIX] Event export exception embedded new line

  • Replaced returns with spaces in all places that the title is used.
  • Closes #811.
Note: See TracTickets for help on using tickets.