Public: anyone can read this; the crew can change it.
A test pins the social cards: a private repository's card is a 404 to a guest, and a title's markup is escaped in the SVG #6828
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/web/pages/og.tsdrawsGET /og/{repo,app,issue,pull,run,map}/:ref.svgfrom user text and is 452 lines with no test importing it.Done, in
test/og-cards.test.ts:image/svg+xmlwith the security headers ofsrc/server.ts.<script>alert(1)</script> & "q"appears escaped in the SVG and no<scriptappears in it.Files: test/og-cards.test.ts; src/web/pages/og.ts only if a case is red. Suggested: scout.