forked from indymedia/epicyon
No http
This commit is contained in:
1 parent
c94b348f8d
commit
87e828deea
1 file changed
+1
-2
@@ -494,8 +494,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
htmlGET=True
|
||||
|
||||
# replace https://domain/@nick with https://domain/users/nick
|
||||
if htmlGET and '/@' in self.path and \
|
||||
(self.path.startswith('http') or self.path.startswith('dat')):
|
||||
if htmlGET and self.path.startswith('/@'):
|
||||
self.path=self.path.replace('/@','/users/')
|
||||
|
||||
# treat shared inbox paths consistently
|
||||
|
||||
Reference in new issue
Block a user