Extra replacement

main
Bob Mottram 2020-10-07 21:56:58 +01:00
parent dd0721a0ad
commit 007dc311be
1 changed files with 2 additions and 0 deletions

View File

@ -6561,6 +6561,8 @@ class PubServer(BaseHTTPRequestHandler):
self.server.YTReplacementDomain,
self.server.newswire, moderator)
msg = msg.replace('/news/', '/' + 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),