From 03a8474fea8206a5b8242779659fd11847a3d987 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 27 Dec 2015 11:45:09 +0100 Subject: [PATCH] Supporting session uri elements --- Uri/UriFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Uri/UriFactory.php b/Uri/UriFactory.php index f6eeed8ca..5f6a5f252 100644 --- a/Uri/UriFactory.php +++ b/Uri/UriFactory.php @@ -105,7 +105,7 @@ class UriFactory */ public static function build(\string $uri, array $toMatch = [], \int $scheme = UriScheme::HTTP) { - $uri = preg_replace_callback('(\{[\/#\?@\.][a-zA-Z0-9]*\})', function ($match) use ($toMatch) { + $uri = preg_replace_callback('(\{[\/#\?@\.\$][a-zA-Z0-9]*\})', function ($match) use ($toMatch) { $match = substr($match[0], 1, strlen($match[0]) - 2); return $toMatch[$match] ?? self::$uri[$match] ?? $match;