Drupal\Component\Utility\UrlHelper::externalIsLocal should check for port numbers

Created on 27 August 2019, almost 6 years ago
Updated 15 August 2025, 8 days ago

Drupal\Component\Utility\UrlHelper::externalIsLocal should also check for differences in the port number in $url and $base_url. See the attached patch.

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component

base system

Created by

🇳🇱Netherlands Ruuds

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Merge Requests

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