typo
svn: r5247
This commit is contained in:
parent
58444b904d
commit
ff2769ad95
|
@ -375,7 +375,7 @@
|
|||
(define (string->url str)
|
||||
(apply
|
||||
(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)))
|
||||
(url-error "Invalid URL string (bad scheme): ~e" str))
|
||||
;; Windows => "file://xxx:/...." specifies a "xxx:/..." path
|
||||
|
|
Loading…
Reference in New Issue
Block a user