mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 15:10:27 +00:00
Fix route when the zone name containing slash character.
This commit is contained in:
parent
998e70a642
commit
01dd8fd893
@ -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/<string:domain_name>', methods=['GET', 'POST'])
|
||||
@app.route('/domain/<path:domain_name>', methods=['GET', 'POST'])
|
||||
@app.route('/domain', methods=['GET', 'POST'])
|
||||
@login_required
|
||||
def domain(domain_name):
|
||||
|
Loading…
Reference in New Issue
Block a user