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

bug fix for root site file path in copy path command #1473

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

HarminderSethi
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
New sample? no
Related issues? fixes #5396

What's in this Pull Request?

bug fix for root site file path in copy path command

(DELETE THIS PARAGRAPH AFTER READING)

Submitter Guidance (DELETE AFTER READING)

Please update this PR information accordingly. We'll use this as part of our release notes in monthly communications.

Pull requests that do not follow this template will be automatically rejected.

Please target your PR to main branch.

Remember that this repository is maintained by community members who volunteer their time to help. Be courteous and patient.
(DELETE THIS SECTION AFTER READING)

const copyPathCommand: Command = this.tryGetCommand("COPYPATH");

// Get proper theme color
const fillColor = getThemeColor("themeDarkAlt").replace("#", "%23");

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding High

This replaces only the first occurrence of "#".
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.

2 participants