ServerRequest.path() should return raw path
After this commit, ServerRequest.path() returns the raw, unencoded path, as that is expected by the PathPatternParser.
This commit is contained in:
@@ -67,7 +67,7 @@ public interface ServerRequest {
|
||||
* Return the request path.
|
||||
*/
|
||||
default String path() {
|
||||
return uri().getPath();
|
||||
return uri().getRawPath();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user