markseu/yellowcms — pull request #3 by dominikwilkowski (2013-07-20 06:34:41+00:00)
Title: fixed bug where isActive() returned nil on active pages

To recreate the bug put yellow in a folder with e.g. a space in its name.
The resulting "%20" urlencoded space will not parse against $location.
I added normaliseLocation() into getRequestLocation() to fix this.
Please check if this could break things else where.... If so put getRequestLocation() into isActiveLocation() on line 826:
$currentLocation = substru(self::normaliseLocation(self::getRequestLocation()), strlenu($baseLocation));