Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use parameter expansion to fetch envs for envVarCollections in shellIntegration-bash.sh#245264

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
meganrogge merged 1 commit intomicrosoft:mainfromtjcork:main
Apr 15, 2025

Conversation

@tjcork
Copy link
Contributor

To fix issue ShellIntegration-bash is not properly escaping windows paths#245260 where echo is causing characters to be interpreted instead of escaped.
#245260 issue mostly affects insider release at the moment

To fix issue ShellIntegration-bash is not properly escaping windows pathsmicrosoft#245260where echo is causing characters to be interpreted instead of escaped
@anthonykim1
Copy link
Contributor

Thanks for this.

I agree, parameter expansion should be safer (since echo with special characters can cause some issues with those in windows path), and this would make things faster too since we avoid echo and cut (I think these spawn subprocesses)

We also use the safer approachhere with env reporting stuff.

@vs-code-engineeringvs-code-engineeringbot added this to theApril 2025 milestoneApr 2, 2025
@anthonykim1anthonykim1 changed the titleFix shellIntegration-bash.shUse parameter expansion to fetch envs for envVarCollections in shellIntegration-bash.shApr 2, 2025
@TyriarTyriar requested a review frommeganroggeApril 2, 2025 17:12
@Tyriar
Copy link
Member

@meganrogge can you test this one too when you're back?

@Milonali123

This comment was marked as spam.

Copy link
Contributor

@meganroggemeganrogge left a comment

Choose a reason for hiding this comment

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

Thank you!

@meganroggemeganroggeenabled auto-merge (squash)April 15, 2025 17:30
@meganroggemeganrogge merged commit3a28d8d intomicrosoft:mainApr 15, 2025
7 checks passed
anthonykim1 added a commit that referenced this pull requestMay 9, 2025
anthonykim1 added a commit that referenced this pull requestMay 13, 2025
…sh shell integration (#248861)Recovery release)Reverting parameter expansion in bash shell integration
@vs-code-engineeringvs-code-engineeringbot locked and limited conversation to collaboratorsMay 30, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@meganroggemeganroggemeganrogge approved these changes

@anthonykim1anthonykim1anthonykim1 approved these changes

Labels

None yet

Projects

None yet

Milestone

April 2025

Development

Successfully merging this pull request may close these issues.

5 participants

@tjcork@anthonykim1@Tyriar@Milonali123@meganrogge

[8]ページ先頭

©2009-2025 Movatter.jp