mirror of
https://github.com/friendica/friendica
synced 2024-11-11 04:22:53 +00:00
Merge pull request #7108 from friendica/MrPetovan-router-vertical-bar
Remove remaining disallowed vertical bar in Router
This commit is contained in:
commit
cd3bda3e0e
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue