Decrease maximum filename length for #77
This commit is contained in:
parent
7de64ffd5a
commit
f8f3067099
@ -261,8 +261,8 @@ public class Utils {
|
||||
text = text.replaceAll("[^a-zA-Z0-9.-]", "_")
|
||||
.replaceAll("__", "_")
|
||||
.replaceAll("_+$", "");
|
||||
if (text.length() > 255) {
|
||||
text = text.substring(0, 254);
|
||||
if (text.length() > 100) {
|
||||
text = text.substring(0, 99);
|
||||
}
|
||||
return text;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user