-
Notifications
You must be signed in to change notification settings - Fork 784
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
Delete '/' at the end of url #1037
Delete '/' at the end of url #1037
Conversation
Fixes gh-1070. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In situation when we create FeignClient in this way: @FeignClient(url = "https://localhost/", path = "api/v2") We will get an error because of adding '/' in the beginning of the path in FeignClientsRegistrar.getPath, result will: https://localhost//api/v2 To escape this situation we need to delete '/' at the end of url in FeignClientsRegistrar.getUrl
@OlgaMaciaszek Done cherry-pick #707 |
I checked the issue of #1070 |
Hello @OlgaMaciaszek I've looked at the issue you've given me, but I think I'll have difficulty solving it with my ability. |
Sure, will do. |
Closing in favour of #1100. |
#707
Since the PR is not going on anymore
I added a test.