Skip to content

[6.x] Fix external url logic#14016

Merged
jasonvarga merged 6 commits into6.xfrom
is-external
Feb 20, 2026
Merged

[6.x] Fix external url logic#14016
jasonvarga merged 6 commits into6.xfrom
is-external

Conversation

@jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Feb 20, 2026

Fixes URL::isExternalToValidation not detecting external domains where the starting substring is the same. e.g. yoursite.com.au should not be considered the same as yoursite.com

In addition:

  • Tests are improved.
  • Data provider is shared between the URL::isExternalToValidation tests and the password reset test added in [5.x] Validate password reset url #14023
  • Fixes test failure from the merge commit efb0c22. I intentionally merged only what came from 5.x and didn't update the implementation, since that's what this PR is doing.

@jasonvarga jasonvarga changed the title [6.x] Fix URL::isExternalToApplication [6.x] Fix external url logic Feb 20, 2026
@jasonvarga jasonvarga merged commit 57560d0 into 6.x Feb 20, 2026
14 checks passed
@jasonvarga jasonvarga deleted the is-external branch February 20, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant