mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
http: Do not use 'eq?' to compare characters in parse-request-uri.
* module/web/http.scm (parse-request-uri): Use 'eqv?' to compare characters.
This commit is contained in:
parent
8f7ed8abf2
commit
b56b944920
1 changed files with 1 additions and 1 deletions
|
@ -1118,7 +1118,7 @@ not have to have a scheme or host name. The result is a URI object."
|
|||
(bad-request "Missing Request-URI"))
|
||||
((string= str "*" start end)
|
||||
#f)
|
||||
((eq? (string-ref str start) #\/)
|
||||
((eqv? (string-ref str start) #\/)
|
||||
(let* ((q (string-index str #\? start end))
|
||||
(f (string-index str #\# start end))
|
||||
(q (and q (or (not f) (< q f)) q)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue