Skip to content

Commit 4466781

Browse files
authored
Merge pull request #33 from pitluk/master
SVNUrl, support for '#' in filename
2 parents ff16816 + 0e9a3ab commit 4466781

File tree

1 file changed

+1
-1
lines changed
  • base/src/main/java/org/tigris/subversion/svnclientadapter

1 file changed

+1
-1
lines changed

base/src/main/java/org/tigris/subversion/svnclientadapter/SVNUrl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public String toString() {
302302
// to handle other classes OK. I tested with @ + and Unicode characters. It leaves
303303
// the @ and + alone and converts Unicode to %nn. It is possible there are other
304304
// characters we need to replace here besides space.
305-
String s = get().replace(" ", "%20").replace("[", "%5B").replace("]","%5D");
305+
String s = get().replace(" ", "%20").replace("[", "%5B").replace("]","%5D").replace("#","%23");
306306
try {
307307
URI u = new URI(s);
308308
return u.toASCIIString();

0 commit comments

Comments
 (0)