Skip to content

whip relan_handler TrimLeft was replaced with TrimPrefix. - #518

Closed
edutilos6666 wants to merge 1 commit into
livekit:mainfrom
edutilos6666:whip-relay-handler-trim-left
Closed

edutilos6666 wants to merge 1 commit into
livekit:mainfrom
edutilos6666:whip-relay-handler-trim-left

Conversation

@edutilos6666

Copy link
Copy Markdown

I believe strings.TrimLeft(r.URL.Path, "/whip/") is buggy. Because it will strip down any character of cutset from the urlPath. That is why we should replace it with TrimPrefix().

@edutilos6666
edutilos6666 requested a review from a team as a code owner September 29, 2026 21:16
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Nijat Aghayev seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

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