mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
comment
This commit is contained in:
parent
91951ca5a1
commit
5a38ffdce7
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ let split_on_slash s : _ list =
|
|||
|
||||
let parse_query s : (_ list, string) result =
|
||||
let s =
|
||||
(* skip hash if present *)
|
||||
match String.index_opt s '#' with
|
||||
| Some i -> String.sub s (i + 1) (String.length s - i - 1)
|
||||
| None -> s
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue