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 | Leading Slash When Base URL is empty and endpoint in request is a URL #92

Merged
merged 1 commit into from
Oct 25, 2022

Conversation

Sammyjo20
Copy link
Member

@Sammyjo20 Sammyjo20 commented Oct 25, 2022

@what-the-diff
Copy link

what-the-diff bot commented Oct 25, 2022

  • The URLHelper::join() method now accepts a full url as the second argument.
  • A new test was added to ensure that this works correctly.

Copy link
Member Author

@Sammyjo20 Sammyjo20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self review

@Sammyjo20 Sammyjo20 merged commit 161aadb into v1 Oct 25, 2022
@Sammyjo20 Sammyjo20 deleted the fix/trailing-slash-url-helper branch November 13, 2022 16:36
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.

BaseUrl gets an '/' at the beginning if empty
1 participant