cvs: docweb /templates/all/www login.tpl.php

[email protected] ("Vincent Gevers")
Newsgroups php.doc.web
Message-ID <cvsvincent1122896214@cvsserver>
vincent		Mon Aug  1 07:36:54 2005 EDT

  Modified files:              
    /docweb/templates/all/www	login.tpl.php 
  Log:
  fix this problem... (I really needed that coffee)
  
  
http://cvs.php.net/diff.php/docweb/templates/all/www/login.tpl.php?r1=1.2&r2=1.3&ty=u
Index: docweb/templates/all/www/login.tpl.php
diff -u docweb/templates/all/www/login.tpl.php:1.2 docweb/templates/all/www/login.tpl.php:1.3
--- docweb/templates/all/www/login.tpl.php:1.2	Mon Aug  1 05:42:48 2005
+++ docweb/templates/all/www/login.tpl.php	Mon Aug  1 07:36:54 2005
@@ -4,7 +4,7 @@
 
 <p>
 <form method="post" name="login" action="/login.php">
-<input type="hidden" name="return" value="<?php echo $GLOBALS['return']; ?>" />
+<input type="hidden" name="return" value="<?php echo rawurlencode(@$_REQUEST['return']); ?>" />
 <table border="0" cellspacing="2" cellpadding="2">
   <tr>
     <th>Username</th>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.