External URLs altered during drupal_goto() redirects

Created on 23 January 2015, almost 10 years ago
Updated 26 November 2024, 27 days 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.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024