mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-19 19:29:03 +00:00
Fix test failure
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ public class ServletServerHttpRequest implements ServerHttpRequest {
|
||||
this.uri = new URI(urlString);
|
||||
}
|
||||
catch (URISyntaxException ex) {
|
||||
if (true || !hasQuery) {
|
||||
if (!hasQuery) {
|
||||
throw new IllegalStateException("Could not resolve HttpServletRequest as URI: " + urlString, ex);
|
||||
}
|
||||
// Maybe a malformed query string... try plain request URL
|
||||
|
||||
Reference in New Issue
Block a user