spring-cloud-openfeign
spring-cloud-openfeign copied to clipboard
Delete '/' at the end of url
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
@gorshik Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
@gorshik Thank you for signing the Contributor License Agreement!
@pivotal-cla This is an Obvious Fix
Bug fixes like this don't typically qualify as an obvious fix