Ticket #1016 (closed defect: duplicate)

Opened 1 year ago

Last modified 4 weeks ago

header Content-Disposition with russian 'я' (CP1251, ascii code 255) causes error

Reported by: mixsture@mail.ru Assigned to: jan
Priority: normal Milestone: 1.5.0
Component: mod_proxy_core Version: 1.5.x-svn
Severity: normal Keywords: header CP1251
Cc: Blocking:
Need Feedback: 0

Description

<?php header('Content-Disposition: attachment; filename="я.mp3"'); ?> - error

<?php header('Content-Disposition: attachment; filename="Я.mp3"'); ?> - normal


http_req.c.270: (trace) parsing failed ... (no error-msg) http_resp.c.247: (trace) parsing failed ... mod_proxy_core.c.1905: (trace) state: 5 (error) connections.c.1201: (trace) (error) plugins_call_handle_send_request_content(): r = 5


Attachments

Change History

03/04/2007 12:50:45 PM changed by jwmcglynn

This bug is due to not allowing the ASCII 255 character in the request or response header, and is the same as #602.

04/18/2007 12:15:38 PM changed by jwmcglynn

  • blocking changed.

I think that ASCII 255 should be allowed. It is only a control character for telnet and FTP (which specifically allows some telnet control codes). The HTTP spec doesn't specifically disallow 255, but it also doesn't specifically allow other characters that are currently accepted.

06/24/2008 10:44:26 AM changed by stbuehler

  • status changed from new to closed.
  • resolution set to duplicate.
  • pending changed.

Add/Change #1016 (header Content-Disposition with russian 'я' (CP1251, ascii code 255) causes error)




Change Properties
Action