Skip to content

Fix URL parsing to respect node/chromium convention #50757

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

Closed
wants to merge 1 commit into from

Conversation

cipolleschi
Copy link
Contributor

Summary:
We received this issue in OSS where the URL parsing logic does not respect node/chromium specs.

This can cause issue in usercode. This change fixes it

Changelog:

[General][Fixed] - make sure that URLs are parsed following the node specs

Differential Revision: D73101813

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Apr 16, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73101813

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Apr 16, 2025
Summary:

We received [this issue](facebook#50747) in OSS where the URL parsing logic does not respect node/chromium specs.

This can cause issue in usercode. This change fixes it

## Changelog:
[General][Fixed] - make sure that URLs are parsed following the node specs

Differential Revision: D73101813
cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Apr 16, 2025
Summary:

We received [this issue](facebook#50747) in OSS where the URL parsing logic does not respect node/chromium specs.

This can cause issue in usercode. This change fixes it

## Changelog:
[General][Fixed] - make sure that URLs are parsed following the node specs

Differential Revision: D73101813
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73101813

Summary:
Pull Request resolved: facebook#50757

We received [this issue](facebook#50747) in OSS where the URL parsing logic does not respect node/chromium specs.

This can cause issue in usercode. This change fixes it

## Changelog:
[General][Fixed] - make sure that URLs are parsed following the node specs

Differential Revision: D73101813
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73101813

@riteshshukla04
Copy link
Contributor

riteshshukla04 commented Apr 16, 2025

@cipolleschi I missed adding this case(toString) in test cases when I merged URLsearchParams implementation. Should I raise a PR for adding this to testcases?

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Apr 16, 2025
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6d8a02a.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in 6d8a02a

When will my fix make it into a release? | How to file a pick request?

uffoltzl pushed a commit to uffoltzl/react-native that referenced this pull request Apr 18, 2025
Summary:
Pull Request resolved: facebook#50757

We received [this issue](facebook#50747) in OSS where the URL parsing logic does not respect node/chromium specs.

This can cause issue in usercode. This change fixes it

## Changelog:
[General][Fixed] - make sure that URLs are parsed following the node specs

Reviewed By: huntie

Differential Revision: D73101813

fbshipit-source-id: 36f1d23b3ad7882c16524843621d9ebbcc09b95d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants