forked from indymedia/epicyon
Don't allow access to system actors
parent
3c8b6e0a9a
commit
bbd27656d2
|
@ -8288,6 +8288,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def do_GET(self):
|
def do_GET(self):
|
||||||
|
# don't allow access to system actors
|
||||||
|
if self.path == '/users/news' or self.path == '/users/inbox':
|
||||||
|
self._400()
|
||||||
|
return
|
||||||
|
|
||||||
callingDomain = self.server.domainFull
|
callingDomain = self.server.domainFull
|
||||||
if self.headers.get('Host'):
|
if self.headers.get('Host'):
|
||||||
callingDomain = self.headers['Host']
|
callingDomain = self.headers['Host']
|
||||||
|
|
Loading…
Reference in New Issue