| 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 containment tests can pass without exercising file writes, and their path-prefix check can misclassify escaped files as inside the destination.
2 open issuesHardens Save-Help output-path handling by validating remote module names before using them as path components.
Changes:
| File | Description |
|---|---|
| test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1 | Adds remote module-name validation and output-containment checks. |
| src/System.Management.Automation/resources/HelpDisplayStrings.resx | Adds the invalid-module-name error message. |
| src/System.Management.Automation/help/UpdatableHelpCommandBase.cs | Validates module names before further help processing. |
Review effort: Balanced
Sorry, something went wrong.
| Guid = [guid]::NewGuid() | ||
| Version = [Version]'1.0.0.0' | ||
| ModuleBase = $root | ||
| HelpInfoUri = 'https://example.invalid/help/' |
| } | ||
|
|
||
| $escaped = @(Get-ChildItem -LiteralPath $root -Recurse -File -Force -ErrorAction SilentlyContinue | | ||
| Where-Object { -not $_.FullName.StartsWith($destFull, [System.StringComparison]::OrdinalIgnoreCase) }) |
| Back | FazBrowse Home | New Git URL |
PR Summary
PR Context
PR Checklist