I'm configuring Rabbit Hole to redirect using the value of link field. (The exact configuration is visible here: https://github.com/stevector/nerdologues-d8/commit/a3e1ed70793dcfcd99f02...) When that link is external, I get the following error message

Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it.

I don't know if that restriction is intentional. I'll submit a patch that uses the suggested class.

CommentFileSizeAuthor
#2 trusted-2843564-1.patch1.41 KBstevector

Comments

stevector created an issue. See original summary.

stevector’s picture

Status: Active » Needs review
StatusFileSize
new1.41 KB

dylan donkersgoed’s picture

Status: Needs review » Fixed

Not intentional. This looks good and seems to work well. Thanks for the patch, I've committed it to the 8.x-1.x branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.