Skip to content

Commit f44e535

Browse files
committed
I think this is the proper URL format
1 parent c3beb0d commit f44e535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ fn parse_request(env_vars: HashMap<String, String>, stdin: Vec<u8>) -> Request {
330330

331331
req = req.method(env_vars.get("REQUEST_METHOD").map_or("GET", String::as_str));
332332
let mut uri = env_vars
333-
.get("SCRIPT_NAME")
333+
.get("PATH_INFO")
334334
.filter(|val| !val.is_empty())
335335
.map_or_else(exe_url, String::clone);
336336

0 commit comments

Comments
 (0)