Emoji pack names are not urlencoded when trying to download them from remote instances #246

Closed
opened 2022-10-30 21:35:38 +00:00 by MaeIsBad · 0 comments
Contributor

The function at https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/lib/pleroma/emoji/pack.ex#L253 doesn't url encode the emoji pack name which makes it impossible to download the emoji pack through adminfe.
For example try importing the "maia kitten" emoji pack from crimew.gay. You have to manually urlencode the pack name as "maia%20kitten" inside the json payload.

The function at https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/lib/pleroma/emoji/pack.ex#L253 doesn't url encode the emoji pack name which makes it impossible to download the emoji pack through adminfe. For example try importing the "maia kitten" emoji pack from crimew.gay. You have to manually urlencode the pack name as "maia%20kitten" inside the json payload.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#246
No description provided.