[PR #476] [MERGED] Fix utf username #944

Closed
opened 2026-02-27 20:00:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/librespot-org/librespot/pull/476
Author: @PlusMinus0
Created: 5/10/2020
Status: Merged
Merged: 7/22/2020
Merged by: @sashahilton00

Base: devHead: fix-utf-username


📝 Commits (1)

📊 Changes

3 files changed (+22 additions, -3 deletions)

View changed files

📝 connect/src/spirc.rs (+5 -2)
📝 core/src/mercury/mod.rs (+2 -1)
📝 core/src/util/mod.rs (+15 -0)

📄 Description

Adapted from snippet by @ashthespy in #257.

Fixes the following error:

[2020-05-10T20:21:06Z WARN  librespot_core::mercury] error 400 for uri hm://remote/user/±e^2πi/
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MercuryError', connect/src/spirc.rs:331:23

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/librespot-org/librespot/pull/476 **Author:** [@PlusMinus0](https://github.com/PlusMinus0) **Created:** 5/10/2020 **Status:** ✅ Merged **Merged:** 7/22/2020 **Merged by:** [@sashahilton00](https://github.com/sashahilton00) **Base:** `dev` ← **Head:** `fix-utf-username` --- ### 📝 Commits (1) - [`6f084d7`](https://github.com/librespot-org/librespot/commit/6f084d7ea52b1bad15d72cd97d0a21d32b943b8f) Fix utf username. ### 📊 Changes **3 files changed** (+22 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `connect/src/spirc.rs` (+5 -2) 📝 `core/src/mercury/mod.rs` (+2 -1) 📝 `core/src/util/mod.rs` (+15 -0) </details> ### 📄 Description Adapted from snippet by @ashthespy in #257. Fixes the following error: ``` [2020-05-10T20:21:06Z WARN librespot_core::mercury] error 400 for uri hm://remote/user/±e^2πi/ thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MercuryError', connect/src/spirc.rs:331:23 ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:00:33 +03:00
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/librespot#944
No description provided.