Workaround for :up pathnames, thanks to Pierre Mai
This commit is contained in:
committed by
David Lichteblau
parent
47a4a225b3
commit
a1a95a4d03
@ -3030,7 +3030,11 @@
|
||||
#-cxml-system::uri-is-namestring
|
||||
(defun pathname-to-uri (pathname)
|
||||
(let ((path
|
||||
(append (pathname-directory pathname)
|
||||
;; FIXME: should we really leave ".." in base URIs?
|
||||
(append (mapcar (lambda (x)
|
||||
(cond ((member x '(:up :back)) "..")
|
||||
(t x)))
|
||||
(pathname-directory pathname))
|
||||
(list
|
||||
(if (specific-or (pathname-type pathname))
|
||||
(concatenate 'string
|
||||
|
||||
Reference in New Issue
Block a user