When there is a redirect for the url, and it's an external url, it will fail with the exception ResourceNotFoundException() (in src/EventSubscriber/RouterPathTranslatorSubscriber.php) because the content can't be found in Drupal.
So instead of returning the target external url, an error is thrown.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3080088-allow-external-urls-2.patch | 1.11 KB | bartvig |
Comments
Comment #2
bartvig commentedA simple solution is to check if the url is external and don't do more than return the resolved path and set status code to 200.
Comment #3
e0ipsoComment #4
e0ipso