Update core/lib/uri.php