mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-21 22:59:16 +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?
|
(define uri-has-scheme?
|
||||||
(let ((no-scheme (list 'no-scheme)))
|
(let ((no-scheme (list 'no-scheme)))
|
||||||
(lambda (url)
|
(lambda (url)
|
||||||
(and url
|
(not (eq? no-scheme (uri-scheme (string->path-uri no-scheme url)))))))
|
||||||
(eq? no-scheme (uri-scheme (string->path-uri no-scheme url)))))))
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; query encoding and decoding
|
;; query encoding and decoding
|
||||||
|
|
Loading…
Add table
Reference in a new issue