Remove formatting from filename

main2
Bob Mottram 2019-10-23 14:07:05 +01:00
parent 222f5b8217
commit 358c4b6b5d
1 changed files with 1 additions and 1 deletions

View File

@ -974,7 +974,7 @@ class PubServer(BaseHTTPRequestHandler):
# full screen images shown from the media timeline
if htmlGET and authorized and '/fullscreen?' in self.path:
imageFilename=self.path.split('?img=')[1]
imageFilename=self.path.split('?img=')[1].replace('%20',' ').replace('%40','@').replace('%3A',':').replace('%23','#')
if '?' in imageFilename:
imageFilename=imageFilename.split('?')[0]
imageDescription=None