Index: branches/5.1.x/core/kernel/utility/http_query.php =================================================================== diff -u -N -r13454 -r13470 --- branches/5.1.x/core/kernel/utility/http_query.php (.../http_query.php) (revision 13454) +++ branches/5.1.x/core/kernel/utility/http_query.php (.../http_query.php) (revision 13470) @@ -1,6 +1,6 @@ Get('_mod_rw_url_'); if ($this->Application->RewriteURLs() || $rewrite_url) { + // maybe call onafterconfigread here + if (defined('DEBUG_MODE') && $this->Application->isDebugMode()) { $this->Application->Debugger->profileStart('url_parsing', 'Parsing MOD_REWRITE url'); $this->processRewriteURL(); @@ -386,7 +388,9 @@ $module_params['editing_mode'] = ''; } - $env = $this->Application->BuildEnv( $this->Get('t'), $module_params, $passed, false, false ); + $module_params['__URLENCODE__'] = 1; + + $env = $this->Application->BuildEnv( $this->Get('t'), $module_params, $passed, false, false); $this->Set(ENV_VAR_NAME, $env); $_REQUEST['env'] = $_GET['env'] = $env; // for capability with old in-portal code }