Slackbot
05/12/2023, 2:34 PMPranathi Peri
05/12/2023, 2:37 PMDavid Balatero
05/12/2023, 3:33 PMDavid Balatero
05/12/2023, 3:33 PMDavid Balatero
05/12/2023, 3:33 PMamonshiz
05/12/2023, 5:17 PMamonshiz
05/12/2023, 7:19 PM<ps://github.com/thebrowsercompany/arc/assets/922840/df889609-a493-432d-9d44-b8157db78738> 404
Image (async)
Tk @ main.ae6bb1b3.js:2
Rk @ main.ae6bb1b3.js:2
Qk @ main.ae6bb1b3.js:2
Il @ main.ae6bb1b3.js:2
Al @ main.ae6bb1b3.js:2
rl @ main.ae6bb1b3.js:2
J @ main.ae6bb1b3.js:2
R @ main.ae6bb1b3.js:2
And the response summary:
Request URL: <https://github.com/thebrowsercompany/arc/assets/922840/df889609-a493-432d-9d44-b8157db78738>
Request Method: GET
Status Code: 404
Remote Address: 140.82.113.3:443
Referrer Policy: strict-origin-when-cross-origin
David Balatero
05/12/2023, 7:58 PM╰ curl -is <https://github.com/thebrowsercompany/arc/assets/922840/df889609-a493-432d-9d44-b8157db78738>
HTTP/2 404
server: <http://GitHub.com|GitHub.com>
date: Fri, 12 May 2023 19:57:39 GMT
David Balatero
05/12/2023, 7:58 PMDavid Balatero
05/12/2023, 7:59 PMamonshiz
05/12/2023, 9:14 PMDavid Balatero
05/19/2023, 7:07 PM<http://github.com|github.com>
domain), the image 404s instead of redirecting you to the correct CDN asset
i attempted to <iframe>
the image, but Github (rightfully) blocks this behavior via the Content-Security-Policy on the image
my current best idea is that we can detect the 404 error and render a "Sorry, you tried to view a private image, click here to open it in a new tab" component in place of the image. which isn't great, but better than a mysterious broken imageAlex Poon
06/06/2023, 1:44 PMDavid Balatero
06/06/2023, 1:49 PMGreg
06/06/2023, 1:51 PMbodyHTML
rather than bodyMarkdown
field - the same as what GitHub does for their VSCode extension. The bodyHTML
contains presigned upload urls which load on Graphite. We deployed this late Friday, and it’s now live on the site. Please let me know if you find edge cases where this isnt workingDavid Balatero
06/06/2023, 2:15 PM