Skip to content

Conversation

@anamnavi
Copy link
Member

@anamnavi anamnavi commented Nov 24, 2025

Utils.ProcessNameWildcards detects and potentially filters out wildcard characters and unwanted characters from Name input. Save-PSResource and other cmdlets call this method. This method will now also filter out path separator characters if a package name contains it and write an appropriate error message.

PR Summary

PR Context

Fixes #1901

PR Checklist

@anamnavi
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

Save-PSResource: Improve error message when passing bad package name that looks like a filename

3 participants