@app.route('/arbitrary/<path:my_path>')
def arbitrary_path(my_path):
    return my_path
if __name__ == '__main__':
    app.run()
How can I securely pass an arbitrarily deep path to a webapp (Flask, in this case)?