Skip to content

mycli self find-cmd: Escape special characters in log message#50

Merged
gcbeltramini merged 4 commits into
mainfrom
gb/find-cmd
Jun 21, 2026
Merged

mycli self find-cmd: Escape special characters in log message#50
gcbeltramini merged 4 commits into
mainfrom
gb/find-cmd

Conversation

@gcbeltramini

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates mycli self find-cmd’s filter logging to be safer/clearer by avoiding raw interpolation of user-provided regex strings into echo -e-based output.

Changes:

  • Adjusts the introductory log line to explicitly mention “mycli commands”.
  • Sanitizes --command and --subcommand filter values in log output by stripping control characters and escaping backslashes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread commands/self/find-cmd.sh Outdated
Comment thread commands/self/find-cmd.sh Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread commands/self/find-cmd.sh Outdated
Comment thread commands/self/find-cmd.sh Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread commands/self/find-cmd.sh Outdated
Comment thread commands/self/find-cmd.sh Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@gcbeltramini gcbeltramini merged commit 85cc793 into main Jun 21, 2026
1 check passed
@gcbeltramini gcbeltramini deleted the gb/find-cmd branch June 21, 2026 23:32
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