use the whole hostname to check remote links - fixes #866
What does this MR do?
the warning dialog's "trust this domain" toggle saves the whole hostname, so this code needs to use the whole hostname
otherwise trusting a www.example.com
will never work, because we'd be checking example.com
against it, and fail
while I was there, I also made the trustedLinkUrlPatterns
correctly match sub-domains: previously, trusting ple.com
would trust
example.com
Contribution Guidelines
By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this merge request
Merge request reports
Activity
Filter activity
requested review from @CenTdemeern1, @Marie, @luna, and @tess
mentioned in commit 5faa26b0
Please register or sign in to reply