X-Git-Url: http://git.kpe.io/?p=wol.git;a=blobdiff_plain;f=project.lisp;fp=project.lisp;h=027f1bdcf7914bd98a1dbc00f775398709e0b9aa;hp=6a285f65f706dd0ca4e3562e0a9dd0413b22f8f0;hb=628dda3f26ad183880fea5871c37b9cfa33b425a;hpb=0c0d797b5e6c5afa9050b8021ea4729f4ab68aca diff --git a/project.lisp b/project.lisp index 6a285f6..027f1bd 100644 --- a/project.lisp +++ b/project.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: July 2003 ;;;; -;;;; $Id: project.lisp,v 1.8 2003/08/08 23:40:13 kevin Exp $ +;;;; $Id: project.lisp,v 1.9 2003/08/09 21:42:24 kevin Exp $ ;;;; ;;;; This file and Wol are Copyright (c) 2001-2003 by Kevin M. Rosenberg ;;;; ************************************************************************* @@ -169,13 +169,16 @@ (defun redirect-entity (page req ent &optional plist) (let ((proj (entity-project ent)) - (url (make-wol-url page req ent plist))) + (url (render-uri + (copy-uri (request-uri req) + :path (make-wol-url page req ent plist)) + nil))) (ecase (project-connector proj) (:aserve (net.aserve:with-http-response ((aserve-request req) (entity-aserve-entity ent) - :response net.aserve:*response-moved-permanently*) + :response net.aserve:*response-temporary-redirect*) (set-cookie req ent) (net.aserve:with-http-body ((aserve-request req)