| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Sorry, something went wrong.
There was a problem hiding this comment.
The new module-name validation lacks regression coverage for invalid names and platform-specific handling, leaving its error behavior and prevention of local proxy-file creation unverified.
1 open issue What changed in this PRAdds protective validation before Import-Module -PSSession uses remote module names to construct local proxy-module paths.
Changes:
| File | Description |
|---|---|
| src/System.Management.Automation/resources/Modules.resx | Adds the error message for rejected module names. |
| src/System.Management.Automation/engine/Modules/ImportModuleCommand.cs | Validates remote module names before local path construction. |
Review effort: Balanced
Sorry, something went wrong.
| Version remoteModuleVersion, | ||
| PSSession psSession) | ||
| { | ||
| if (string.IsNullOrEmpty(remoteModuleName) || remoteModuleName.IndexOfAny(s_pathTraversalChars) >= 0 || remoteModuleName is "." or "..") |
| Back | FazBrowse Home | New Git URL |
PR Summary
PR Context
PR Checklist