strip some additional characters from source name when used in filenames, resolves #494

pull/513/head
meeb 2024-04-29 01:40:53 +10:00
parent 8718fb6145
commit 8c0c6ad6c9
1 changed files with 1 additions and 1 deletions

View File

@ -1041,7 +1041,7 @@ class Media(models.Model):
'mm': dateobj.strftime('%m'),
'dd': dateobj.strftime('%d'),
'source': self.source.slugname,
'source_full': self.source.name,
'source_full': clean_filename(self.source.name),
'title': self.slugtitle,
'title_full': clean_filename(self.title),
'key': self.key,