Skip to content

Commit b13f86c

Browse files
committed
Fix failing tests in spring-test after recent changes
See gh-33639
1 parent 2389748 commit b13f86c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

+4-3
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,11 @@ public void handleNext(InternalParser parser, char c, int i) {
142142
case ';':
143143
case '?':
144144
case '#':
145+
case '.':
146+
parser.index(--i);
147+
parser.advanceTo(PATH);
148+
break;
145149
default:
146-
if (c == '.') {
147-
parser.index(--i);
148-
}
149150
parser.advanceTo(PATH);
150151
}
151152
}

0 commit comments

Comments
 (0)