Merge branch 'fix_1743_Edimax' into storageareas

This commit is contained in:
Isaac Connor 2017-01-11 10:34:08 -05:00
commit 5d03e9f50e
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ int RemoteCameraHttp::GetResponse()
} }
if ( !content_type_expr ) if ( !content_type_expr )
content_type_expr = new RegExpr( "Content-type: ?(.+?)(?:; ?boundary=(.+?))?\r?\n", PCRE_CASELESS ); content_type_expr = new RegExpr( "Content-type: ?(.+?)(?:; ?boundary=\x22?(.+?)\x22?)?\r?\n", PCRE_CASELESS );
if ( content_type_expr->Match( header, header_len ) >= 2 ) if ( content_type_expr->Match( header, header_len ) >= 2 )
{ {
content_type = content_type_expr->MatchString( 1 ); content_type = content_type_expr->MatchString( 1 );