Closed medilies closed 10 months ago
@medilies thanks for using the package. What you are describing is not a bug per se but the application of another RFC https://datatracker.ietf.org/doc/html/rfc8089#appendix-A which is still in proposed state. If you are willing to provide a PR to support your expected behaviour I would be more than glad to review and merge it in the package
@medilies the easiest way to add this feature would be to add two methods:
Uri::fromRfc8089(Stringable|string $uri): UriInterface
BaseUri::toRfc8089(): string
It would enable the feature without adding any BC break.
Thank you so much for showing me how to contribute while handling my issue 🙏🏼 I hope to be able to make use of this help and be a better contributor in the futur.
Bug Report
Summary
I was looking at this Wikipedia page https://en.wikipedia.org/wiki/File_URI_scheme and tried all the examples. The package fails to parse the The KDE environment example
file:/etc/fstab
Standalone code, or other way to reproduce the problem
Expected result
Actual result