r5459: *** empty log message ***
[wol.git] / uri.lisp
index 371f04563e78e8ce5a9f968eaea7818104dd4315..e0612a29c8ddd40da2d0462a91c67ea2c9ed42b9 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.4 2003/07/23 23:08:29 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))
     (:lang :l)
     (:logged :g)
     (:caller :c)
+    (:db :d)
     
     ;; For lookup-func1
     (:func :f)
     (:L :lang)
     (:G :logged)
     (:C :caller)
+    (:D :db)
     
     ;; For posting to lookup-func1
     (:F :func)