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

[Feature] RFC1738 compliant URL Parsers #28

Draft
wants to merge 5 commits into
base: 1.x-dev
Choose a base branch
from

Conversation

nibra
Copy link
Contributor

@nibra nibra commented Apr 4, 2021

The PHP parse_url function is very basic and does not follow RFC 1738, which defines the syntax of URLs.
The parsers implemented in this PR are modelled after the BNF in section 5 of that RFC, so they are much more precise.

Summary of Changes

  • Add URL parsers
  • Add a facade for the URL parsers providing validation and sanitation.

Testing Instructions

Replace the Uri package in an installation with this and make sure that everything works as expected.

Documentation Changes Required

Yes, WIP

@SniperSister
Copy link

@nibra still a WIP or ready? what are the next steps?

@nibra
Copy link
Contributor Author

nibra commented Feb 14, 2022

It needs joomla-framework/utilities#31 to be accepted.

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.

2 participants