Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix url parsing with port numbers #49505

Merged
merged 1 commit into from
Jun 16, 2021
Merged

Conversation

underdoeg
Copy link
Contributor

@underdoeg underdoeg commented Jun 11, 2021

String.get_slice_count is always at least 1 or 2 for bases with a port number.
Before this change the following URL would return ERR_INVALID_PARAMETER ws://127.0.0.1:8000/test

Bugsquad edit: Fixup to #48205. Fixes #49652.

String.get_slice_count is always at least 1 or 2 for bases with a port number.
Before this change the following URL would return ERR_INVALID_PARAMETER ```ws://127.0.0.1:8000/test```
@underdoeg underdoeg requested a review from a team as a code owner June 11, 2021 08:09
@Chaosus Chaosus added this to the 4.0 milestone Jun 11, 2021
@akien-mga akien-mga requested a review from Faless June 11, 2021 12:27
@akien-mga akien-mga added cherrypick:3.3 cherrypick:3.x Considered for cherry-picking into a future 3.x release labels Jun 11, 2021
@akien-mga
Copy link
Member

Probably fixes #49652.

Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Approved by @Faless on chat.

@akien-mga akien-mga merged commit badad53 into godotengine:master Jun 16, 2021
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.4.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jun 17, 2021
@akien-mga
Copy link
Member

Cherry-picked for 3.3.3.

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

Successfully merging this pull request may close these issues.

[Error] Websocket Client - Invalid URL
3 participants