mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-21 02:27:40 +00:00
Fix for #286
This commit is contained in:
@@ -278,7 +278,7 @@ def get_valid_filename(value, replace_whitespace=True):
|
||||
else:
|
||||
value = unicode(re_slugify.sub('', value).strip())
|
||||
if replace_whitespace:
|
||||
#*+:\"/<>? werden durch _ ersetzt
|
||||
#*+:\"/<>? are replaced by _
|
||||
value = re.sub('[\*\+:\\\"/<>\?]+', u'_', value, flags=re.U)
|
||||
|
||||
value = value[:128]
|
||||
|
Reference in New Issue
Block a user