[GH-ISSUE #621] Searching with a '%' sign in the search phrase leads to a 400 #251

Open
opened 2026-02-28 14:48:02 +03:00 by kerem · 1 comment
Owner

Originally created by @Utagai on GitHub (Oct 15, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/621

If you search using a '%' character in the search input box, you'll get a 400 error from spt:
image

But searching without that character works just fine:
image

I imagine this may have something to do with escaping, but I don't have any idea right now.

Originally created by @Utagai on GitHub (Oct 15, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/621 If you search using a '%' character in the search input box, you'll get a 400 error from `spt`: ![image](https://user-images.githubusercontent.com/10730394/96066889-c8029e80-0e66-11eb-9456-dd49fc6cd0f4.png) But searching without that character works just fine: ![image](https://user-images.githubusercontent.com/10730394/96067072-e9fc2100-0e66-11eb-9e92-63a922ffbd2e.png) I imagine this may have something to do with escaping, but I don't have any idea right now.
Author
Owner

@Utagai commented on GitHub (Oct 19, 2020):

I looked into this and it seems like it is an issue with rspotify not escaping % signs. I filed an issue over there.

See https://github.com/ramsayleung/rspotify/issues/141.

<!-- gh-comment-id:711483819 --> @Utagai commented on GitHub (Oct 19, 2020): I looked into this and it seems like it is an issue with `rspotify` not escaping `%` signs. I filed an issue over there. See https://github.com/ramsayleung/rspotify/issues/141.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
starred/spotify-tui#251
No description provided.