From c5daeb726565fb9a3f3ea3954588b9f5ffba7c95 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Fri, 15 Mar 2013 10:41:20 +0100 Subject: [PATCH] normalized http headers identifier --- web/Obj/sac-a-push.phh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.17.1