Skip to content

fix(intake): parse GitHub's <img> photo form (fixes intake 404) - #82

Merged
blafourcade merged 1 commit into
mainfrom
fix/photo-url-html
Jul 28, 2026
Merged

fix(intake): parse GitHub's <img> photo form (fixes intake 404)#82
blafourcade merged 1 commit into
mainfrom
fix/photo-url-html

Conversation

@blafourcade

Copy link
Copy Markdown
Contributor

Dragging an image into the certification Issue Form now inserts <img ... src="url" /> (GitHub changed this), not markdown ![](url). extractImageUrl only matched markdown → bare-URL fallback captured the URL with the trailing " → photo download 404 → intake workflow crash (issue #81).

Add an <img src> case + stop the bare-URL match at delimiters. Tests cover the exact failing payload.

🤖 Generated with Claude Code

Dragging an image into an Issue Form textarea used to produce markdown
`![](url)`; GitHub now inserts `<img ... src="url" />`. extractImageUrl only
matched markdown, so it fell back to the bare-URL regex and captured the URL
with the trailing `"` -> photo download 404 -> intake crash.

Add an `<img src="...">` case and stop the bare-URL match at delimiters
(quotes, angle brackets, parens). Tests cover the exact failing payload.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PC9TRnYr5AXe7GmBmHjkBy
@blafourcade
blafourcade requested review from a team as code owners July 28, 2026 03:11
@blafourcade
blafourcade merged commit 46399ba into main Jul 28, 2026
@blafourcade
blafourcade deleted the fix/photo-url-html branch July 28, 2026 03:11
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.

1 participant