Skip to content

fix(core): strip trailing slash from companionUrl for socket URL#6391

Open
JammingBen wants to merge 2 commits into
transloadit:mainfrom
JammingBen:fix/socket-host-trailing-slash
Open

fix(core): strip trailing slash from companionUrl for socket URL#6391
JammingBen wants to merge 2 commits into
transloadit:mainfrom
JammingBen:fix/socket-host-trailing-slash

Conversation

@JammingBen

Copy link
Copy Markdown

A trailing slash produced ws://host//api/<token>, which Companion's router rejects, so remote uploads hung until the socket timeout. Strip it to make the implementation more robust.

A trailing slash produced ws://host//api/<token>, which Companion's
router rejects, so remote uploads hung until the socket timeout. Strip
it to make the implementation more robust.
@changeset-bot

changeset-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3a8ebf7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@uppy/core Patch
uppy Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

1 participant