Update qira_webserver.py

Deletion of the firefox blocking
This commit is contained in:
Namalee 2016-04-12 14:21:25 +02:00
parent 12afdb2e68
commit 6ed4a06a3d
1 changed files with 0 additions and 3 deletions

View File

@ -396,9 +396,6 @@ def getregisters(forknum, clnum):
@app.route('/', defaults={'path': 'index.html'})
@app.route('/<path:path>')
def serve(path):
if 'Firefox' in request.headers.get('User-Agent'):
return "<pre>WTF you use Firefox?!?\n\nGo download a real web browser, like Chrome, and try this again"
# best security?
if ".." in path:
return