Skip to content

Conversation

@burnmandont
Copy link

In twirp_client.rs line 107, url.path_segments_mut().push() was used to construct the Twirp endpoint URL. This method URL-encodes forward slashes as %2F, resulting in malformed URLs that LiveKit server couldn't parse.

Before:
Expected: http://localhost:7890/twirp/livekit.RoomService/CreateRoom
Actual: http://localhost:7890/%2Ftwirp%2Flivekit.RoomService%2FCreateRoom

PR Solution:
Use url.set_path() instead, which correctly sets the entire path without encoding forward slashes.

@CLAassistant
Copy link

CLAassistant commented Dec 24, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants