-
Couldn't load subscription status.
- Fork 38.8k
Closed as not planned
Closed as not planned
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)
Description
I have a HttpExchange client for e.g. BitBucket server, where the client looks like this:
public interface BitbucketClient {
@GetExchange("/projects/{project}/repos/{repo}/raw/{path}?at={ref}")
String raw(@PathVariable String project, @PathVariable String repo, @PathVariable String ref, @PathVariable String path);
}
path parameter can contain slashes (/) - because it is a path inside a repo (e.g. src/main/resources/file.txt) so encoding it breaks the API.
It would be good to have a param in PathVariable that would disable encoding (e.g. @PathVariable(encode = false) String path).
(this was reported earlier at #32041 but it stalled)
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)