Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix Url Validator false positives #41684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 26, 2021

Conversation

sidz
Copy link
Contributor

@sidz sidz commented Jun 11, 2021

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #41683
License MIT

This PR tries to fix false positive issues with a couple of variants of domain names which Url validator thinks that they are valid

Url Validator returns false positive result on cases:

@carsonbot
Copy link

Hey!

To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done?

Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review.

Cheers!

Carsonbot

@sidz sidz marked this pull request as ready for review June 11, 2021 14:50
@carsonbot
Copy link

It looks like you unchecked the "Allow edits from maintainer" box. That is fine, but please note that if you have multiple commits, you'll need to squash your commits into one before this can be merged. Or, you can check the "Allow edits from maintainers" box and the maintainer can squash for you.

Cheers!

Carsonbot

@sidz sidz changed the title Fix Url Validator false positives [WIP] Fix Url Validator false positives Jun 11, 2021
@sidz sidz changed the base branch from 5.4 to 4.4 June 11, 2021 14:59
@nicolas-grekas nicolas-grekas added this to the 4.4 milestone Jun 12, 2021
@Nyholm
Copy link
Member

Nyholm commented Jun 14, 2021

Thank you for this PR.

It looks like you are just adding some more test cases. Did you miss to add the patch?

@sidz
Copy link
Contributor Author

sidz commented Jun 14, 2021

@Nyholm I didn't forget to push the patch as I'm still thinking how to cover all cases.

BTW I'm open to any help :)

@sidz sidz force-pushed the fix-url-validator-false-positives branch from 36ab553 to 9181c4a Compare June 14, 2021 11:34
@sidz sidz changed the title [WIP] Fix Url Validator false positives [Validator] Fix Url Validator false positives Jun 14, 2021
@sidz sidz force-pushed the fix-url-validator-false-positives branch from 9181c4a to 952670f Compare June 14, 2021 11:46
@sidz
Copy link
Contributor Author

sidz commented Jun 14, 2021

Ready for review.

@carsonbot carsonbot changed the title [Validator] Fix Url Validator false positives Fix Url Validator false positives Aug 26, 2021
@fabpot fabpot force-pushed the fix-url-validator-false-positives branch from a32529e to 074539d Compare August 26, 2021 06:05
@fabpot
Copy link
Member

fabpot commented Aug 26, 2021

Thank you @sidz.

@fabpot fabpot merged commit 8c674dc into symfony:4.4 Aug 26, 2021
@sidz sidz deleted the fix-url-validator-false-positives branch August 26, 2021 06:06
This was referenced Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Validator] Url validator returns false positive
6 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.