From 0bbd056859ac688501252e58cade174dfbd315e9 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 2 Nov 2015 13:28:21 +0000 Subject: [PATCH] HttpUtils.pm: "chunked patch"-patch (Forum #43377) git-svn-id: https://svn.fhem.de/fhem/trunk@9754 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/HttpUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/HttpUtils.pm b/fhem/FHEM/HttpUtils.pm index e4ad1b3db..c82d2b9ac 100644 --- a/fhem/FHEM/HttpUtils.pm +++ b/fhem/FHEM/HttpUtils.pm @@ -403,7 +403,7 @@ HttpUtils_ParseAnswer($$) while( $offset < $size ) { my $next = index($ret, "\r\n", $offset); last if( $next == -1 ); - if( substr($ret,$offset,$next-$offset) =~ m/([\da-f]+)/ ) { + if( substr($ret,$offset,$next-$offset) =~ m/([\da-f]+)/i ) { my $len = hex($1); $offset = $next + 2; $data .= substr($ret,$offset,$len);