diff options
author | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-08-16 21:51:38 +0000 |
---|---|---|
committer | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-08-16 21:51:38 +0000 |
commit | e58982f645d65d9ad63759970150ffe28aa30883 (patch) | |
tree | d1ca254b6642eec6dccd26f27f19884bcfcb350b /ext/http11/http11_parser.rl | |
parent | d53e945f458ce5ad54706fbff40d096aeb975985 (diff) | |
download | unicorn-e58982f645d65d9ad63759970150ffe28aa30883.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@331 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'ext/http11/http11_parser.rl')
-rw-r--r-- | ext/http11/http11_parser.rl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/http11/http11_parser.rl b/ext/http11/http11_parser.rl index ce9d905..90bb63f 100644 --- a/ext/http11/http11_parser.rl +++ b/ext/http11/http11_parser.rl @@ -89,10 +89,10 @@ absolute_uri = (scheme ":" (uchar | reserved )*); path = (pchar+ ( "/" pchar* )*) ; - query = ( uchar | reserved )* >start_query %query_string ; + query = ( uchar | reserved )* %query_string ; param = ( pchar | "/" )* ; params = (param ( ";" param )*) ; - rel_path = (path? %request_path (";" params)?) ("?" query)?; + rel_path = (path? %request_path (";" params)?) ("?" %start_query query)?; absolute_path = ("/"+ rel_path); Request_URI = ("*" | absolute_uri | absolute_path) >mark %request_uri; |