You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mind you, .toUri() still returns the correct thing (https://path.com/seg1/seg2/%20seg-with-leading-space/file.png), it's just that it seems weird to store the "wrong" path components.
looks like a simple change for the above line like
hi,
was wondering, is there a reason that path segments are trimmed in
HierarchicalUriComponents.FullPathComponent
?spring-framework/spring-web/src/main/java/org/springframework/web/util/HierarchicalUriComponents.java
Line 900 in aaf3310
for example the following test will fail
mind you,
.toUri()
still returns the correct thing (https://path.com/seg1/seg2/%20seg-with-leading-space/file.png
), it's just that it seems weird to store the "wrong" path components.looks like a simple change for the above line like
should do the trick.
insights?
thanks,
The text was updated successfully, but these errors were encountered: