This line is working on URLS that are generated by $markupURL and $articleURL , i.e. urls generated by Request::url .  About "index.php" its true I was assuming that was in the Request::url 's generated in teh isPAthInfoEnabled()===false case.  Can I count on at least a filename with a ".php" suffix?