From: Hypolite Petovan Date: Sun, 3 Oct 2021 11:37:30 +0000 (-0400) Subject: Fix regular expression in the user avatar photo routes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f426a5bd980c6848275c728b1d59c1fb214a72d7;p=friendica.git Fix regular expression in the user avatar photo routes --- diff --git a/static/routes.config.php b/static/routes.config.php index a76b19d88d..9dbd2a615b 100644 --- a/static/routes.config.php +++ b/static/routes.config.php @@ -373,10 +373,10 @@ return [ '/photo' => [ '/{name}' => [Module\Photo::class, [R::GET]], // User Id Fallback, to remove after version 2021.12 - '/{type}/{uid_ext:\d+}' => [Module\Photo::class, [R::GET]], + '/{type}/{uid_ext:\d+\..*}' => [Module\Photo::class, [R::GET]], '/{type}/{nickname_ext}' => [Module\Photo::class, [R::GET]], // User Id Fallback, to remove after version 2021.12 - '/{type}/{customsize}/{uid_ext:\d+}' => [Module\Photo::class, [R::GET]], + '/{type}/{customsize}/{uid_ext:\d+\..*}' => [Module\Photo::class, [R::GET]], '/{type}/{customsize}/{nickname_ext}' => [Module\Photo::class, [R::GET]], ],