Files
archon/python
DIY Smart Code ce2f871ebb Fix sitemap URL detection to require .xml extension (#611)
Resolves issue where URLs containing 'sitemap' in path (like
https://nx.dev/see-also/sitemap) were incorrectly treated as XML
sitemaps, causing XML parsing errors.

- Changed detection to require both .xml extension AND 'sitemap' in path
- Fixes XML parsing error: "not well-formed (invalid token)"
- Maintains compatibility with existing test cases
- Now correctly identifies only actual XML sitemap files

Fixes #607

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-12 10:07:22 -05:00
..