We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec19af commit 1604b6aCopy full SHA for 1604b6a
Essentials/src/main/java/com/earth2me/essentials/utils/StringUtil.java
@@ -13,7 +13,7 @@ public final class StringUtil {
13
private static final Pattern INVALIDFILECHARS = Pattern.compile("[^a-z0-9-]");
14
private static final Pattern STRICTINVALIDCHARS = Pattern.compile("[^a-z0-9]");
15
@SuppressWarnings("CheckStyle")
16
- private static final Pattern INVALIDCHARS = Pattern.compile("[^\t\n\r -~\u0085\u00A0-\uD7FF\uE000-\uFFFC]");
+ private static final Pattern INVALIDCHARS = Pattern.compile("[^\t\n\r\u0020-\u007E\u0085\u00A0-\uD7FF\uE000-\uFFFC]");
17
18
private StringUtil() {
19
}
0 commit comments