typo
svn: r5247 original commit: ff2769ad955824eb2d63c56198a16c9833ce9024
This commit is contained in:
parent
3769291887
commit
1fca2539b3
|
@ -375,7 +375,7 @@
|
||||||
(define (string->url str)
|
(define (string->url str)
|
||||||
(apply
|
(apply
|
||||||
(lambda (scheme user host port path query fragment)
|
(lambda (scheme user host port path query fragment)
|
||||||
(when (and scheme (not (regexp-match? #rx"^[a-zA-Z][a-zA-Z0-9+-.]*$"
|
(when (and scheme (not (regexp-match? #rx"^[a-zA-Z][a-zA-Z0-9+.-]*$"
|
||||||
scheme)))
|
scheme)))
|
||||||
(url-error "Invalid URL string (bad scheme): ~e" str))
|
(url-error "Invalid URL string (bad scheme): ~e" str))
|
||||||
;; Windows => "file://xxx:/...." specifies a "xxx:/..." path
|
;; Windows => "file://xxx:/...." specifies a "xxx:/..." path
|
||||||
|
|
Loading…
Reference in New Issue
Block a user