Don't use full path for follow confirms

main
Bob Mottram 2020-07-31 22:34:14 +01:00
parent 8c23913ac9
commit 8c54fffe69
1 changed files with 2 additions and 2 deletions

View File

@ -7758,7 +7758,7 @@ class PubServer(BaseHTTPRequestHandler):
msg = \ msg = \
htmlUnblockConfirm(self.server.translate, htmlUnblockConfirm(self.server.translate,
self.server.baseDir, self.server.baseDir,
originPathStr, usersPath,
optionsActor, optionsActor,
optionsAvatarUrl).encode('utf-8') optionsAvatarUrl).encode('utf-8')
self._set_headers('text/html', len(msg), self._set_headers('text/html', len(msg),
@ -7772,7 +7772,7 @@ class PubServer(BaseHTTPRequestHandler):
msg = \ msg = \
htmlFollowConfirm(self.server.translate, htmlFollowConfirm(self.server.translate,
self.server.baseDir, self.server.baseDir,
originPathStr, usersPath,
optionsActor, optionsActor,
optionsAvatarUrl).encode('utf-8') optionsAvatarUrl).encode('utf-8')
self._set_headers('text/html', len(msg), self._set_headers('text/html', len(msg),