Skip to content

Commit 31d6f46

Browse files
author
jan
committed
Do not allow double qoutes in project names
1 parent 59ee10f commit 31d6f46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io.sloeber.core/src/io/sloeber/core/api/Common.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ private static String getSloeberHome() {
114114
* @return a name safe to create files or folders
115115
*/
116116
public static String makeNameCompileSafe(String name) {
117-
char[] badChars = { ' ', '/', '.', ':', '\\', '(', ')', '*', '?', '%', '|', '<', '>', ',', '-', '#' };
117+
char[] badChars = { ' ', '/', '.', ':', '\\', '(', ')', '*', '?', '%', '|', '<', '>', ',', '-', '#', '"' };
118118
String ret = name.trim();
119119
for (char curchar : badChars) {
120120
ret = ret.replace(curchar, '_');

0 commit comments

Comments
 (0)