Files
parsedmarc/tests
copilot-swe-agent[bot] 717518e702 Fix CodeQL URL validation security alerts in tests
- Replace unsafe substring checking (in operator) with proper URL parsing
- Use urllib.parse.urlparse to validate URL components (scheme, netloc, path)
- Check specific URL parts (netloc) instead of substring matching anywhere in URL
- Fixes 3 CodeQL "Incomplete URL substring sanitization" alerts
- All 13 tests still passing
2026-06-04 02:20:12 +00:00
..