mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-21 06:39:17 +02:00
Reversing logic of uri-has-scheme?.
This commit is contained in:
parent
5246763c8b
commit
719af372f9
1 changed files with 1 additions and 2 deletions
|
@ -199,8 +199,7 @@
|
|||
(define uri-has-scheme?
|
||||
(let ((no-scheme (list 'no-scheme)))
|
||||
(lambda (url)
|
||||
(and url
|
||||
(eq? no-scheme (uri-scheme (string->path-uri no-scheme url)))))))
|
||||
(not (eq? no-scheme (uri-scheme (string->path-uri no-scheme url)))))))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; query encoding and decoding
|
||||
|
|
Loading…
Add table
Reference in a new issue