fix for absent absolute path (Michael Raskin)

This commit is contained in:
Kevin Rosenberg
2010-01-28 09:07:38 -07:00
parent 2ee36d3d96
commit 3d8bae190c
2 changed files with 11 additions and 6 deletions

View File

@ -4,7 +4,7 @@
;;
;; copyright (c) 1999-2002 Franz Inc, Berkeley, CA - All rights reserved.
;; copyright (c) 2002-2005 Franz Inc, Oakland, CA - All rights reserved.
;; copyright (c) 2003-2006 Kevin Rosenberg (porting changes)
;; copyright (c) 2003-2010 Kevin Rosenberg
;;
;; This code is free software; you can redistribute it and/or
;; modify it under the terms of the version 2.1 of
@ -846,11 +846,10 @@ URI ~s contains illegal character ~s at position ~d."
#+allegro (with-output-to-string (s)
(excl::maybe-print-fast s port))
)
(when path
(encode-escaped-encoding path
nil
;;*reserved-path-characters*
escape))
(encode-escaped-encoding (or path "/")
nil
;;*reserved-path-characters*
escape)
(when query "?")
(when query (encode-escaped-encoding query nil escape))
(when fragment "#")