mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-05-25 05:15:24 +00:00
Reduce number of characters in filename from 255 to 100
Reduce number of characters in filename from 255 to 100
This commit is contained in:
+1
-1
@@ -395,7 +395,7 @@ def get_filename_safe_string(string):
|
||||
string = string.replace(char, "")
|
||||
string = string.rstrip(".")
|
||||
|
||||
string = (string[:255]) if len(string) > 255 else string
|
||||
string = (string[:100]) if len(string) > 100 else string
|
||||
|
||||
return string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user