#201 Logo URLs with query parameters are silently rejected by Test-ValidUrl
Drafted PR #202 · 1 file · branch maintainer/fix-201
Cost
$0.670
Runtime
2m 57s
Input
962.7k
Output
2.9k
Agent timeline
- #0triagerclaude-sonnet-4-6succeeded<$0.011.6k in / 289 out
bug / medium / scoped / fixable=true
0 tool calls · 0 steps · stop: end_turn
- #1fixerclaude-sonnet-4-6succeeded$0.661961.1k in / 2.6k out
draft PR #202 (1 files)
16 tool calls · 34 steps · stop: end_turn
Triage verdict
- Type
- bug
- Severity
- medium
- Scope
- scoped
- Reproducible
- yes
The `Test-ValidUrl` function in IntuneBrew.ps1 incorrectly rejects well-formed HTTPS URLs that contain a query string (e.g., `?v=2` or `?token=...`). This causes logo downloads to silently fail, resulting in apps being uploaded to Intune without an icon and no warning to the user.
Next: Locate the URL validation regex or logic in `Test-ValidUrl` within IntuneBrew.ps1 and update it to permit query string components in otherwise valid HTTPS URLs, then add a user-visible warning if a logo URL is ultimately skipped.