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

Fix issue in Resolver #26

Merged
merged 2 commits into from
Feb 12, 2022
Merged

Fix issue in Resolver #26

merged 2 commits into from
Feb 12, 2022

Conversation

otsch
Copy link
Member

@otsch otsch commented Feb 12, 2022

When resolving a path without leading slash against a base url without
trailing slash, the resulting url has a slash now.
Previously: http://abc.com/ => blog => http://abc.comblog/
Now: http://abc.com/ => blog => http://abc.com/blog

Besides that also update linting to PSR-12, add a missing throws tag in
Url class docblock and update schemes and suffixes.

When resolving a path without leading slash against a base url without
trailing slash, the resulting url has a slash now.
Previously: http://abc.com => blog => http://abc.comblog
Now: http://abc.com => blog => http://abc.com/blog

Besides that also update linting to PSR-12, add a missing throws tag in
Url class docblock and update schemes and suffixes.
@otsch otsch merged commit ba7b44f into master Feb 12, 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
Development

Successfully merging this pull request may close these issues.

1 participant