From: Hypolite Petovan Date: Mon, 6 May 2019 17:41:48 +0000 (-0400) Subject: Remove remaining disallowed vertical bar in Router X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=afb0c7b8fd1fa70387eefc03fc09b2983a561531;p=friendica.git Remove remaining disallowed vertical bar in Router --- diff --git a/src/App/Router.php b/src/App/Router.php index 668f05814b..71f3e62339 100644 --- a/src/App/Router.php +++ b/src/App/Router.php @@ -160,7 +160,8 @@ class Router $this->routeCollector->addRoute(['GET'], '/nogroup', Module\Group::class); $this->routeCollector->addRoute(['GET'], '/objects/{guid}', Module\Objects::class); $this->routeCollector->addGroup('/oembed', function (RouteCollector $collector) { - $collector->addRoute(['GET'], '/[b2h|h2b]', Module\Oembed::class); + $collector->addRoute(['GET'], '/b2h', Module\Oembed::class); + $collector->addRoute(['GET'], '/h2b', Module\Oembed::class); $collector->addRoute(['GET'], '/{hash}', Module\Oembed::class); }); $this->routeCollector->addRoute(['GET'], '/outbox/{owner}', Module\Outbox::class);