When each locale uses a separate domain, redirecting fails with this error:
Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it.
When each locale uses a separate domain, redirecting fails with this error:
Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it.
Comments
Comment #2
prudloff commentedThe attached patch fixes this issue.
Comment #3
mr.baileysConfirmed that redirects to domains are failing. Attached is a test demonstrating the issue, and a combined patch with both the test and fix.
Comment #6
mr.baileysComment #9
thomas cysThanks for the patch.