diff options
Diffstat (limited to 'ext/http11/http11_parser.rl')
-rw-r--r-- | ext/http11/http11_parser.rl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http11/http11_parser.rl b/ext/http11/http11_parser.rl index 764c763..0bc59ef 100644 --- a/ext/http11/http11_parser.rl +++ b/ext/http11/http11_parser.rl @@ -81,7 +81,7 @@ param = ( pchar | "/" )* ; params = (param ( ";" param )*) ; rel_path = (path? (";" params)?) %request_uri ("?" query)? ; - absolute_path = ("/" rel_path) >mark ; + absolute_path = ("/"+ rel_path) >mark ; Request_URI = ("*" >mark %request_uri | absolute_uri | absolute_path) ; Method = (upper | digit | safe){1,20} >mark %request_method; |