fix for absent absolute path (Michael Raskin) debian-1.5.3-1 v1.5.3
authorKevin Rosenberg <kevin@rosenberg.net>
Thu, 28 Jan 2010 16:07:38 +0000 (09:07 -0700)
committerKevin Rosenberg <kevin@rosenberg.net>
Thu, 28 Jan 2010 16:07:38 +0000 (09:07 -0700)
debian/changelog
src.lisp

index 773e4f003a62cbd943609995f4233eed495dbe22..e1f99d95848746a93b349116c4f5b985d7be2481 100644 (file)
@@ -1,3 +1,9 @@
+cl-puri (1.5.3-1) unstable; urgency=low
+
+  * New upstream
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Thu, 28 Jan 2010 09:05:26 -0700
+
 cl-puri (1.5.2-1) unstable; urgency=low
 
   * New upstream
index a19f889d327a1d346ba3d735c4a0b80b193b4aba..ab13bad4a490d76a83fbe13d499e87eef7714d6a 100644 (file)
--- a/src.lisp
+++ b/src.lisp
@@ -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 "#")