networkteam / Networkteam.Neos.ContentApi

A simple content API for Neos
MIT License
3 stars 3 forks source link

Redirects: Only relative paths are supported #8

Open lorenzulrich opened 3 months ago

lorenzulrich commented 3 months ago

The code at https://github.com/networkteam/Networkteam.Neos.ContentApi/blob/main/Classes/Controller/DocumentsController.php#L325 always prepends redirect targets with a slash, therefore absolute paths (e.g. different domains) are not supported.

lorenzulrich commented 2 months ago

Fix in https://github.com/networkteam/Networkteam.Neos.ContentApi/pull/10