Profilsuche nach Nickname #41
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature-nickname-search"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #37
@ -22,0 +22,4 @@
if "nickname" in request.args:
nickname = request.args.get("nickname")
query = query.filter(Profile.nickname.like(f"%{nickname}%"))
Possible SQL injection? Needs to be double checked
Laut Doku escaped SQLAlchemy das automagisch.
Aber lass einen Test reinpacken.
Test eingefügt
840cf8830d
to76e95311f0