from flask import Flask, request, escape
app = Flask(__name__)


@app.route('/')
def hello():
    return 'Hello, World!'


@app.route('/a')
def hi():
    name = request.args.get('name', 'world')
    return f'hello,{escape(name)}!'


if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000)

cf46ec8a705b69de33355031b8604ba9de73ef4b
<mask token>


@app.route('/a')
def hi():
    name = request.args.get('name', 'world')
    return f'hello,{escape(name)}!'


<mask token>

<mask token>


@app.route('/')
def hello():
    return 'Hello, World!'


@app.route('/a')
def hi():
    name = request.args.get('name', 'world')
    return f'hello,{escape(name)}!'


if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000)

<mask token>
app = Flask(__name__)


@app.route('/')
def hello():
    return 'Hello, World!'


@app.route('/a')
def hi():
    name = request.args.get('name', 'world')
    return f'hello,{escape(name)}!'


if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000)

from flask import Flask, request, escape
app = Flask(__name__)


@app.route('/')
def hello():
    return 'Hello, World!'


@app.route('/a')
def hi():
    name = request.args.get('name', 'world')
    return f'hello,{escape(name)}!'


if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000)
