;;; Scratchy gopher server
;;
-;; Requires Chicken 5.0.0.
+;; Requires Chicken 5
;;
;;; Imports
;;; Global constants
-(define scratchy-version "1.2.0")
+(define scratchy-version "1.2.1")
(define scratchy-footer
(conc "\n"
(selector (car selector-list))
(arguments (cdr selector-list)))
(if (string-contains selector "|")
- (let ((l (string-split selector "|")))
+ (let ((l (string-split selector "|" #t)))
(serve-script (car l) (cdr l) config))
(case (infer-selector-type selector)
((1) (serve-directory-file selector config))
- ((7) (let ((l (string-split selector "?")))
+ ((7) (let ((l (string-split selector "?" #t)))
(serve-script (car l) arguments config)))
((0) (serve-text-file selector config))
((h) (serve-url selector config))