From 7a5fac9a431442b850c1288a8a60e052f33f4da3 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Thu, 18 Apr 2019 09:54:25 +0200 Subject: [PATCH] fix: [UI show domain] fix domain/port unpacking --- var/www/modules/hiddenServices/Flask_hiddenServices.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/var/www/modules/hiddenServices/Flask_hiddenServices.py b/var/www/modules/hiddenServices/Flask_hiddenServices.py index b687b7df..b0deb6fc 100644 --- a/var/www/modules/hiddenServices/Flask_hiddenServices.py +++ b/var/www/modules/hiddenServices/Flask_hiddenServices.py @@ -537,6 +537,11 @@ def show_domain(): except: epoch = None port = request.args.get('port') + faup.decode(domain) + unpack_url = faup.get() + domain = unpack_url['domain'].decode() + if not port: + port = unpack_url['port'].decode() try: port = int(port) except: