mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
bbbe6b21ea
commit
0f58390e67
|
@ -18079,6 +18079,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if html_getreq and self.path != '/login' and \
|
||||
not is_image_file(self.path) and \
|
||||
self.path != '/' and \
|
||||
not self.path.startswith('/.well-known/protocol-handler') and \
|
||||
self.path != '/users/news/linksmobile' and \
|
||||
self.path != '/users/news/newswiremobile':
|
||||
if self._redirect_to_login_screen(calling_domain, self.path,
|
||||
|
|
|
@ -259,8 +259,11 @@ def wellknown_protocol_handler(path: str, base_dir: str,
|
|||
if not path.startswith('/.well-known/protocol-handler?'):
|
||||
return None
|
||||
|
||||
print('Test1: ' + path)
|
||||
|
||||
if 'target=' in path:
|
||||
path = urllib.parse.unquote(path)
|
||||
print('Test1: ' + path)
|
||||
target = path.split('target=')[1]
|
||||
if ';' in target:
|
||||
target = target.split(';')[0]
|
||||
|
|
Loading…
Reference in New Issue