mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40:27 +00:00
Merge pull request #97 from dorion/master
Fix route when the zone name containing slash character.
This commit is contained in:
commit
68dc4f4148
@ -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