Thread: [poe-commits] poe/POE/Filter HTTPD.pm,1.28,1.29
Brought to you by:
rcaputo
From: <rc...@us...> - 2003-09-15 20:26:55
|
Update of /cvsroot/poe/poe/POE/Filter In directory sc8-pr-cvs1:/tmp/cvs-serv20960/POE/Filter Modified Files: HTTPD.pm Log Message: Include the tilde (~) as part of the legal character class for HTTP header names, per RFC 2616. Thanks to Fabrice Dulaunoy for discovering this and especially for suggesting how to fix it. Index: HTTPD.pm =================================================================== RCS file: /cvsroot/poe/poe/POE/Filter/HTTPD.pm,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** HTTPD.pm 17 Sep 2002 07:09:30 -0000 1.28 --- HTTPD.pm 15 Sep 2003 20:26:52 -0000 1.29 *************** *** 142,146 **** $_ = $1; s/\015$//; ! if (/^([\w\-]+)\s*:\s*(.*)/) { $r->push_header($key, $val) if $key; ($key, $val) = ($1, $2); --- 142,146 ---- $_ = $1; s/\015$//; ! if (/^([\w\-~]+)\s*:\s*(.*)/) { $r->push_header($key, $val) if $key; ($key, $val) = ($1, $2); |