c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #12035
[Bug 701821] [NEW] Report file missing extension name with multi-bytes report name
Public bug reported:
In version 6rc2 and file web\addons\openerp\controllers\actions.py:
line:
cherrypy.response.headers['Content-Disposition'] = 'filename="' + report_name + '.' + report_type + '"'
Please quotes the variable report_name before put it into the HTTP header:
report_name = urllib.quote(report_name.encode('utf-8'))
Thanks!
** Affects: openobject-client-web
Importance: Undecided
Status: New
** Description changed:
In version 6rc2 and file web\addons\openerp\controllers\actions.py:
line:
cherrypy.response.headers['Content-Disposition'] = 'filename="' + report_name + '.' + report_type + '"'
- Please quote the report_name variable before put it into the HTTP header:
+ Please quotes the variable report_name before put it into the HTTP header:
report_name = urllib.quote(report_name.encode('utf-8'))
Thanks!
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/701821
Title:
Report file missing extension name with multi-bytes report name
Status in OpenObject Web Client:
New
Bug description:
In version 6rc2 and file web\addons\openerp\controllers\actions.py:
line:
cherrypy.response.headers['Content-Disposition'] = 'filename="' + report_name + '.' + report_type + '"'
Please quotes the variable report_name before put it into the HTTP header:
report_name = urllib.quote(report_name.encode('utf-8'))
Thanks!
Follow ups
References