commit 71a9bb6fb50fff729e0471cc68c3e08b730c4a04
parent 1bd30f4150e93fe67ae43001c3b0a1c4ddf76991
Author: Florian Trudel <florian.trudel@gmx.de>
Date: Thu, 4 Jun 2015 10:17:26 +0200
absolute, untouched domain links now possible, if a '!' is inserted as first character.
[FOO](!/bar)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/system/core/core.php b/system/core/core.php
@@ -2040,6 +2040,8 @@ class YellowLookup
if(preg_match("/^\#/", $location))
{
$location = $pageBase.$pageLocation.$location;
+ } else if( preg_match( "/^\!/", $location )) {
+ $location = substr( $location, 1 );
} else if(!preg_match("/^\//", $location)) {
$location = $this->getDirectoryLocation($pageBase.$pageLocation).$location;
} else if(!preg_match("#^$pageBase#", $location)) {