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 #25

Merged
merged 1 commit into from
Feb 12, 2022
Merged

Fix issue in Resolver #25

merged 1 commit 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 fcebba1 into v1.1 Feb 12, 2022
@otsch otsch deleted the fix-resolve-issue branch February 12, 2022 12:08
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