diff options
-rw-r--r-- | src/com/gitblit/FileSettings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/gitblit/FileSettings.java b/src/com/gitblit/FileSettings.java index be1f44f2..3a42cad0 100644 --- a/src/com/gitblit/FileSettings.java +++ b/src/com/gitblit/FileSettings.java @@ -104,7 +104,7 @@ public class FileSettings extends IStoredSettings { }
private String regExEscape(String input) {
- return input.replace(".", "\\.");
+ return input.replace(".", "\\.").replace("$", "\\$").replace("{", "\\{");
}
/**
|