Added replacement of ###CURRENT_URL### in the additionalGetParams/additional403GetParams
authorchristian.futterlieb <christian.futterlieb@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 16 Feb 2011 17:19:09 +0000 (17:19 +0000)
committerchristian.futterlieb <christian.futterlieb@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 16 Feb 2011 17:19:09 +0000 (17:19 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/pagenotfoundehandling/trunk@43714 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
class.tx_pagenotfoundhandling.php

index 3580f25..8d7cde5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2011-02-16 Christian Futterlieb <develpment@agenturamwasser.ch>
 
     * Bugfix: do not override _default404Page/_default404Template with the 403 equivalents when they are empty
+    * Added replacement of ###CURRENT_URL### in the additionalGetParams/additional403GetParams
 
 2011-02-16 Christian Futterlieb <develpment@agenturamwasser.ch>
 
index c60c7b5..2dc13d6 100644 (file)
@@ -389,6 +389,8 @@ class tx_pagenotfoundhandling
                                }
                                }
 
+                $url = str_replace('###CURRENT_URL###', urlencode($this->_params['currentUrl']), $url);
+
                 $headers = array(
                     'User-agent: ' . t3lib_div::getIndpEnv('HTTP_USER_AGENT'),
                     'Referer: ' . t3lib_div::getIndpEnv('TYPO3_REQUEST_URL')