Skip to content

fix: support Windows PowerShell 5.1 bootstrap downloads - #218

Closed
edgar-mission200 wants to merge 4 commits into
monk-io:mainfrom
edgar-mission200:codex/fix-powershell-basic-parsing
Closed

fix: support Windows PowerShell 5.1 bootstrap downloads#218
edgar-mission200 wants to merge 4 commits into
monk-io:mainfrom
edgar-mission200:codex/fix-powershell-basic-parsing

Conversation

@edgar-mission200

@edgar-mission200 edgar-mission200 commented Aug 1, 2026

Copy link
Copy Markdown

Fixes #195

Windows PowerShell 5.1 can route Invoke-WebRequest through the legacy Internet Explorer parser unless -UseBasicParsing is supplied. This patch adds -UseBasicParsing to both download calls in all three shipped ensure-monk-agent.ps1 copies.

Validation:

  • powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File .\tests\ensure-monk-agent-basic-parsing.ps1
  • Result: ensure_basic_parsing_status=pass installers=3 downloads=6

@edgar-mission200 edgar-mission200 changed the title Codex/fix powershell basic parsing fix: support Windows PowerShell 5.1 bootstrap downloads Aug 1, 2026
@nooga

nooga commented Aug 3, 2026

Copy link
Copy Markdown
Member

This is a near-identical, later-filed version of #196 (opened the next day, same fix location, same missing CI-wiring gap — install-e2e.yml isn't touched here either). #196 was open first and is the reporter's own PR for the underlying issue, so closing this one in favor of that thread rather than reviewing both in parallel.

@nooga nooga closed this Aug 3, 2026
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.

[Bug bounty] Windows bootstrap relies on unavailable IE parser in PowerShell 5.1

2 participants