preserve query strings when internal-redirecting through login page
authorMark Wells <mark@freeside.biz>
Sat, 19 Oct 2013 21:42:03 +0000 (14:42 -0700)
committerMark Wells <mark@freeside.biz>
Sat, 19 Oct 2013 21:42:03 +0000 (14:42 -0700)
httemplate/loginout/login.html

index d06d0a8..3c6e2ae 100644 (file)
@@ -14,7 +14,7 @@
              
 %#  <FORM METHOD="POST" ACTION="<%$url_string%>loginout/login">
   <FORM METHOD="POST" ACTION="/login">
-    <INPUT TYPE="hidden" NAME="destination" VALUE="<% $r->prev->uri %>">
+    <INPUT TYPE="hidden" NAME="destination" VALUE="<% $r->prev->unparsed_uri %>">
 
     <TABLE CELLSPACING=0 CELLPADDING=4 BGCOLOR="#cccccc">
       <TR>