Page MenuHomeIn-Portal Phabricator

D526.id1349.diff
No OneTemporary

File Metadata

Created
Fri, Nov 21, 3:00 PM

D526.id1349.diff

Index: core/kernel/managers/url_manager.php
===================================================================
--- core/kernel/managers/url_manager.php
+++ core/kernel/managers/url_manager.php
@@ -281,7 +281,13 @@
// because pass through is not changed during script run, then we can cache it
if ( is_null($cached_pass_through) ) {
- $cached_pass_through = Array ();
+ $cached_pass_through = array();
+
+ // Disabled on the Front-End for security reasons.
+ if ( !$this->Application->isAdmin ) {
+ return array();
+ }
+
$pass_through = $this->Application->GetVar('pass_through');
if ( $pass_through ) {

Event Timeline