Skip to content

Commit

Permalink
Resolved issue Corvusoft#223.
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-crowhurst authored and clrusby committed Jul 27, 2018
1 parent ab94ccc commit e00cd61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/corvusoft/restbed/detail/http_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ namespace restbed
getline( response_stream, status_line );

smatch matches;
static const regex status_line_pattern( "^([a-zA-Z]+)\\/(\\d*\\.?\\d*) (-?\\d+) (.+)\\r$" );
static const regex status_line_pattern( "^([a-zA-Z]+)\\/(\\d*\\.?\\d*) (-?\\d+) (.*)\\r$" );

if ( not regex_match( status_line, matches, status_line_pattern ) or matches.size( ) not_eq 5 )
{
Expand Down

0 comments on commit e00cd61

Please sign in to comment.