Skip to content
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

Add unit tests for String::parse_url() #95590

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pafuent
Copy link
Contributor

@pafuent pafuent commented Aug 15, 2024

This PR aims to help "fix" #43440

PLEASE pay special attention to port invalid URLs test. Current behavior returns the port value even when String::parse_url() is returning Error::ERR_INVALID_PARAMETER
IMHO String::parse_url() should update port parameter if is invalid. If everyone agree I can change the code to do so.

@pafuent pafuent requested a review from a team as a code owner August 15, 2024 20:52
@Calinou Calinou added this to the 4.4 milestone Aug 15, 2024
@AThousandShips AThousandShips changed the title Adding unit tests for String::parse_url() Add unit tests for String::parse_url() Aug 16, 2024
@pafuent
Copy link
Contributor Author

pafuent commented Aug 20, 2024

I'm not sure if the process of submitting a PR involves saying that it's ready for review, but just in case, I'm saying it.

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.

2 participants