Skip to content

Commit 2389748

Browse files
committed
Parameterize URI parsing tests
Closes gh-33639
1 parent d6fcad9 commit 2389748

File tree

3 files changed

+231
-176
lines changed

3 files changed

+231
-176
lines changed

Diff for: spring-web/src/main/java/org/springframework/web/util/UriComponentsBuilder.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -518,9 +518,9 @@ private UriComponentsBuilder whatWgUrlRecord(WhatWgUrlParser.UrlRecord record) {
518518
}
519519
path(record.path().toString());
520520
query(record.query());
521-
if (StringUtils.hasText(record.fragment())) {
522-
fragment(record.fragment());
523-
}
521+
}
522+
if (StringUtils.hasText(record.fragment())) {
523+
fragment(record.fragment());
524524
}
525525
return this;
526526
}

0 commit comments

Comments
 (0)