Initial commit
This commit is contained in:
parent
32d9755b6b
commit
73bb4ab39b
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ how you're using untrusted data.
|
||||||
|
|
||||||
from markupsafe import escape
|
from markupsafe import escape
|
||||||
|
|
||||||
@app.route("/<name>")
|
@app.route("/<path:name>")
|
||||||
def hello(name):
|
def hello(name):
|
||||||
return f"Hello, {escape(name)}!"
|
return f"Hello, {escape(name)}!"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue