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

Use league/uri for true URI validation #1274

Merged
merged 2 commits into from
Apr 6, 2022
Merged

Conversation

bradjones1
Copy link
Contributor

Fixes #1273

@bradjones1
Copy link
Contributor Author

I think this is a bit more elegant than #1237 - though that does include some test coverage for URIs, so we should include that here too.

Speaking of tests, it doesn't appear the failures on this PR seem to be related to my changes... but I'll have to dig deeper.

@bradjones1
Copy link
Contributor Author

Tests are failing wth

Error: Call to undefined method LeagueTests\Stubs\GrantType::revokeRefreshTokens()

Doesn't feel related to this change but the test setup.

@Sephster
Copy link
Member

No this is an ongoing issue I've not bothered to resolve as will be fixed in the next major. Happy to ignore it. Sorry for any confusion there

@Sephster Sephster linked an issue Apr 6, 2022 that may be closed by this pull request
@Sephster
Copy link
Member

Sephster commented Apr 6, 2022

Thanks @bradjones1 - this looks great and I'm embarrassed to say it didn't occur to me to use this library. Great find and thanks for the PR

@Sephster Sephster merged commit 2795c48 into thephpleague:master Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants