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: allow underscore as a valid char in tunnel remote address #190904

Merged
merged 1 commit into from Aug 21, 2023

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.

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
6 checks passed
@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