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
The '+' (plus) is replaced by a ' ' (space) when having a client-repository connected at a sub-directory to the server-repository and when this sub-directory contained a '+'.
The text was updated successfully, but these errors were encountered:
It turned out that java.io.File.toURI() caused the '+' to stay unchanged (instead of converting it to '%20' and a later java.net.URLDecoder.decode(...) invocation replaced the '+' then to a ' '.
I fixed the problem by introducing co.codewizards.cloudstore.core.util.UrlEncoder and co.codewizards.cloudstore.core.util.UrlDecoder and using these instead everywhere. They are mostly copies of the java.net-classes.
Note, that this problem affected only scenarios having the '+' in the path-prefix, because all relevant other codes were using org.glassfish.jersey.uri.UriComponent.encode(string, UriComponent.Type.PATH_SEGMENT) which does not cause any problem with '+', either.
The '+' (plus) is replaced by a ' ' (space) when having a client-repository connected at a sub-directory to the server-repository and when this sub-directory contained a '+'.
The text was updated successfully, but these errors were encountered: