Profilsuche nach Nickname #41
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kompetenzinventar/ki-backend#41
Loading…
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