dominikwilkowski/yellowcms — pull request #1 by dominikwilkowski (2013-07-20 06:31:18+00:00)
Title: fixed bug where isActive() returns 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));