r5339: *** empty log message ***
[wol.git] / uri.lisp
index 371f04563e78e8ce5a9f968eaea7818104dd4315..16764b7772fbe2e6016da5bd18dc5f37663c64ff 100644 (file)
--- a/uri.lisp
+++ b/uri.lisp
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  July 2003
 ;;;;
-;;;; $Id: uri.lisp,v 1.1 2003/07/16 16:02:21 kevin Exp $
+;;;; $Id: uri.lisp,v 1.3 2003/07/19 20:32:48 kevin Exp $
 ;;;;
 ;;;; This file and Wol are Copyright (c) 2003 by Kevin M. Rosenberg
 ;;;; *************************************************************************
@@ -18,7 +18,7 @@
 (defun request-decompile-uri (req ent)
   "returns (VALUE PAGE PLIST QUERY-ALIST)"
   (multiple-value-bind (page plists query) 
-      (decode-url (request-raw-uri req))
+      (decode-url (puri:uri-path (request-raw-uri req)))
     (when page
       (setf (request-page req) (base-page-name page ent)))
     (when plists
        prefix
        (if html
            (concatenate 'string page ".lsp")
-         (concatenate 'string
-           +asp-header+ +plist-header+ (plist-to-url-string plist)))))))
+         +asp-header+)   
+       (concatenate 'string +plist-header+ (plist-to-url-string plist))))))
 
 (defun parameters-null (&rest params)
   (every #'(lambda (p) (or (null p) (eq p *unspecified*))) params))