Skip to content

fix: escape ampersand and question mark in ProxyCommand #480

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

Merged
merged 7 commits into from
Sep 13, 2024
Merged

Conversation

kylecarbs
Copy link
Member

Fixes #479.

@slushie
Copy link

slushie commented Sep 13, 2024

I think ? will also need escaping for zsh, based on our user report.

@kylecarbs
Copy link
Member Author

@slushie good catch. I need to write some tests ;p

@kylecarbs kylecarbs changed the title fix: escape ampersand in ProxyCommand fix: escape ampersand and question mark in ProxyCommand Sep 13, 2024
Looks like the one we were using disappeared again.
Copy link
Contributor

github-actions bot commented Sep 13, 2024

Qodana Community for JVM

4 new problems were found

Inspection name Severity Problems
Incorrect string capitalization 🔶 Warning 1
Usage of redundant or deprecated syntax or deprecated symbols 🔶 Warning 1
Redundant nullable return type 🔶 Warning 1
String concatenation that can be converted to string template ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format for details)

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/[email protected]
        with:
          upload-result: true
Contact Qodana team

Contact us at [email protected]

Also add some notes on characters double quotes does not handle, in case
we need to do something about them in the future.
@code-asher code-asher merged commit dc880a3 into main Sep 13, 2024
6 checks passed
@code-asher code-asher deleted the escape branch September 13, 2024 19:08
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.

ProxyCommand fails due to unescaped --url flag
3 participants