Skip to content

[Feature] RFC1738 compliant URL Parsers #28

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

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.

@rdeutz
Copy link
Contributor

rdeutz commented Jul 6, 2025

@nibra something you want to update or should we close it?

@nibra
Copy link
Contributor Author

nibra commented Jul 6, 2025

Guess 1.x does not make much sense any more - should I base it on 2.x or 3.x?

@Hackwar
Copy link
Contributor

Hackwar commented Jul 6, 2025

If you still want this, then please aim it at 4.x-dev

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.

4 participants