Pass path instead of actor

main
Bob Mottram 2020-07-14 22:37:06 +01:00
parent a02a01bfae
commit a5af67c669
1 changed files with 1 additions and 2 deletions

View File

@ -7808,7 +7808,7 @@ class PubServer(BaseHTTPRequestHandler):
msg = \ msg = \
htmlUnfollowConfirm(self.server.translate, htmlUnfollowConfirm(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),
@ -7980,7 +7980,6 @@ class PubServer(BaseHTTPRequestHandler):
if not (self.path.endswith('/outbox') or if not (self.path.endswith('/outbox') or
self.path.endswith('/inbox') or self.path.endswith('/inbox') or
self.path.endswith('/shares') or self.path.endswith('/shares') or
self.path.endswith('/unfollowconfirm') or
self.path.endswith('/moderationaction') or self.path.endswith('/moderationaction') or
self.path.endswith('/caps/new') or self.path.endswith('/caps/new') or
self.path == '/sharedInbox'): self.path == '/sharedInbox'):