forked from indymedia/epicyon
Access to links from mobile front page
parent
b11de7e83b
commit
1d8997af2c
|
@ -9530,8 +9530,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.GETbusy = False
|
self.server.GETbusy = False
|
||||||
return
|
return
|
||||||
|
|
||||||
if authorized and htmlGET and '/users/' in self.path and \
|
if htmlGET and self.path.startswith('/users/') and \
|
||||||
self.path.endswith('/linksmobile'):
|
self.path.endswith('/linksmobile'):
|
||||||
|
if (authorized or
|
||||||
|
(not authorized and
|
||||||
|
self.path.startswith('/users/news/') and
|
||||||
|
self.server.newsInstance)):
|
||||||
nickname = getNicknameFromActor(self.path)
|
nickname = getNicknameFromActor(self.path)
|
||||||
if not nickname:
|
if not nickname:
|
||||||
self._404()
|
self._404()
|
||||||
|
|
Loading…
Reference in New Issue