Skip to content

fix: allow underscore as a valid char in tunnel remote address#190904

Merged
alexr00 merged 1 commit intomicrosoft:mainfrom
floge07:allowUnderscoresInTunnelTargetHost
Aug 21, 2023
Merged

fix: allow underscore as a valid char in tunnel remote address#190904
alexr00 merged 1 commit intomicrosoft:mainfrom
floge07:allowUnderscoresInTunnelTargetHost

Conversation

@floge07
Copy link
Contributor

@floge07 floge07 commented Aug 21, 2023

Fixes #190902

The linked issue pretty much explains the problem.
Although I was able to test the UI validation change, the schema.json was kind of a guess. It looked related but I don't know its exact purpose.

Also, I don't know whether this will now fail at a later point. Maybe there was a reason why this was disallowed until now.

I have not quite figured out how to build my local vscode fork (inside a devcontainer) to a fully usable app to replace my normal installation with.

@floge07 floge07 force-pushed the allowUnderscoresInTunnelTargetHost branch from eee19ce to ddc1d2a Compare August 21, 2023 17:16
Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! To fix #190902, the schema change isn't needed, however, it still seems like a good change.

@alexr00 alexr00 added this to the August 2023 milestone Aug 21, 2023
@alexr00 alexr00 enabled auto-merge (squash) August 21, 2023 18:57
@alexr00 alexr00 merged commit d0b14e8 into microsoft:main Aug 21, 2023
@floge07 floge07 deleted the allowUnderscoresInTunnelTargetHost branch August 21, 2023 19:36
Krzysztof-Cieslak pushed a commit to githubnext/vscode that referenced this pull request Sep 18, 2023
…soft#190904)

adjust the regexes used to validate tunnel remote addresses, add underscore as a valid char.
@github-actions github-actions bot locked and limited conversation to collaborators Oct 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ports: remote address does not allow underscores in the host

3 participants