External URLs altered during drupal_goto() redirects

Created on 23 January 2015, about 10 years ago
Updated 26 November 2024, about 2 months ago

hook_drupal_goto_alter() is being used to alter URLs during redirects to turn HTTPS on/off. But it isn't checking for redirects to external URLs, which could cause problems.

Attached patch solves the issue.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States brunascle

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024