# HG changeset patch # User Olaf Wintermann # Date 1652293886 -7200 # Node ID 5533db9b64e2ea4af70d92da50b95f8472ab24a3 # Parent abba342112c2b772935365a500108ff29c9e4284 fix parse_request_line not detecting the uri correctly in some cases diff -r abba342112c2 -r 5533db9b64e2 src/server/daemon/httpparser.c --- a/src/server/daemon/httpparser.c Tue May 10 19:13:01 2022 +0200 +++ b/src/server/daemon/httpparser.c Wed May 11 20:31:26 2022 +0200 @@ -187,7 +187,6 @@ for(;irequest->method.length = i; } else if(ns) { if(line.ptr[i] != ' ') { @@ -200,9 +199,8 @@ ns = 0; int s = i; for(;irequest->uri.length = i - s; } else if(ns) { if(line.ptr[i] > 32) { @@ -215,9 +213,8 @@ ns = 0; s = i; for(;irequest->httpv.length = i - s; } else if(ns) { if(line.ptr[i] > 32) {