From 01dd8fd893862c3c0688ff5dced9f2fe24ffb5ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20D=C3=A9vai?= Date: Tue, 2 Aug 2016 10:59:31 +0200 Subject: [PATCH] Fix route when the zone name containing slash character. --- app/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views.py b/app/views.py index 75eb3b4..73d0d0c 100644 --- a/app/views.py +++ b/app/views.py @@ -256,7 +256,7 @@ def dashboard(): return render_template('dashboard.html', domains=domains, domain_count=domain_count, users=users, history_number=history_number, uptime=uptime, histories=history) -@app.route('/domain/', methods=['GET', 'POST']) +@app.route('/domain/', methods=['GET', 'POST']) @app.route('/domain', methods=['GET', 'POST']) @login_required def domain(domain_name):