Extra replacement

main
Bob Mottram 2020-10-08 10:55:58 +01:00
parent 014336606d
commit 8b222151c6
1 changed files with 2 additions and 0 deletions

View File

@ -6563,6 +6563,8 @@ class PubServer(BaseHTTPRequestHandler):
msg = msg.replace('/news/', '/' + currNickname + '/')
msg = msg.replace('/users/news"',
'/users/' + currNickname + '"')
msg = msg.replace('/users/news?',
'/users/' + currNickname + '?')
msg = msg.replace('/banner.webp', '/banner.png')
msg = msg.encode('utf-8')
self._set_headers('text/html', len(msg),