From: Matteo Nastasi (mop) Date: Fri, 15 Mar 2013 09:41:20 +0000 (+0100) Subject: normalized http headers identifier X-Git-Tag: v4.7.2~1 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=c5daeb726565fb9a3f3ea3954588b9f5ffba7c95;p=brisk.git normalized http headers identifier --- diff --git a/web/Obj/sac-a-push.phh b/web/Obj/sac-a-push.phh index cea6419..ed69e82 100644 --- a/web/Obj/sac-a-push.phh +++ b/web/Obj/sac-a-push.phh @@ -178,7 +178,8 @@ function spu_process_info($stream_info, &$method, &$header, &$get, &$post, &$coo continue; } $split = explode(":", $line, 2); - $header[$split[0]] = $split[1]; + $hea_id = trim(mb_convert_case($split[0], MB_CASE_TITLE, 'UTF-8')); + $header[$hea_id] = $split[1]; } return $path; }