URL-encode Giphy search phrase before building request URL #21
Labels
No Label
ai-changes-requested
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
in-next-release
status/in-progress
status/pr-open
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-v2#21
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Description
services/giphy_service.py:192and:253— The Giphy API request URL is built asf"{self.translate_url}?s={phrase}&api_key={self.api_key}". If any phrase contains spaces,&, or+, the URL is malformed. Currently the phrases are internal constants so immediate risk is low, but it is fragile.File Locations
services/giphy_service.py:192services/giphy_service.py:253Labels
bug, tech-debt
Priority
medium
Addressed in commit
f4be20aonnext-releasebranch. Will be closed when merged to main.Addressed in commit
f4be20aonnext-releasebranch. Will be closed when merged to main.