question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Base64 images reported as 404

See original GitHub issue

When running npx urlint our-test-domain.com, it gives a 404 status on a bunch of base64 images. Perhaps it should not try to follow base64 uri’s, or data-uri’s in general?

2xx 270
3xx 6

4xx 14

404 data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAlgCWAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAAGABQDAREAAhEBAxEB/8QAFgAAAwAAAAAAAAAAAAAAAAAAAgQI/8QAIxAAAQIFAwUAAAAAAAAAAAAAAQIDAAQFERIGITEjMkFRcf/EABUBAQEAAAAAAAAAAAAAAAAAAAQA/8QAHBEBAAEEAwAAAAAAAAAAAAAAAQACEUHRAxPB/9oADAMBAAIRAxEAPwC2NQvTUpq2nzLT/SsJcsG+JCnWgT9sr14EDqau8Bw+biSxxNzO4NXGNRdvbuHEMhokpJyVsOYpT//Z +5ms
404 data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAlgCWAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAAUABQDAREAAhEBAxEB/8QAGQAAAgMBAAAAAAAAAAAAAAAABAUBAgYI/8QAKBAAAQMDAwMDBQAAAAAAAAAAAQIDBAUREg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d2/w8ewtbrHy87b3d7c3t3c3t3b3d3Y2trc3d3Z2drZ2NrX1tiamZ+rq7DT0tTa2dnb2tna2drS0tTU1NXW1dfGxMfNy8zV0tLHxsXS0NDU0tLa2NrQ0NLR0dPT09XY19jMycnLx8XPysnb19TY1c3m5OPFxcjg4ODT09TW1tfKycrJxsbX0dDk29rf2NXm4+G6ubzCwsXOztDY2NnS0tPLyszZ19fg3Nvi29nJwrrc2NTk4uLW1tjDw8bZ2NmchomTiYbV1dbY1tja2NjU0s/LxcHAuLS8u7XU0s7b2NjOycqajI5HREjHx8TU09THmqm4aY2gaIKnboSbmY7Oy8ekoaLJysm0d42Ya4GQa33OeZ+yrKN7eXu6ura8lKDKo7G2sK5DOTzDxcOHiIv1E3O7AAAAinRSTlMAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQQIY0MCBjrI/YkGAQQWl/zKJgEFWubyYAECIbOmDyHt3DcHVu/5dgIDDUDauRgEDi683ToBBg0hlv3+piYLAQYMGm706mMXCQMFChVN4bgxEAUBAwkSM8P0dhoKAwIHDiGbzDwRBgICBgsVFwoDAQMFBAFixcEVAAAACXBIWXMAABcRAAAXEQHKJvM/AAAAB3RJTUUH5AMDBzYLD5V4cgAAANtJREFUGBmNwbFKQmEcxuH316fH4HgmCxok0itoaWhyLZy6gUAMnB1aihxqESoaGhpqafBC6gKChKaGdjG0xUqC/H+f52Bjz6N/cwpYib9+lUHGlTCDH6WWJOXXoihq58uVSHNIVcyB4Ja3b3ksV4AG3vQenmXYhAYZ3fDyKbFFCyYxqSv6E7ENzZiFLjxSA/aq/HGKG24497q6Xlh4yKE6XofUMUbFXbwTgg6elOzEmCPMGaaHTHEfc8g55u5DyEtaZK7HEgqSNsHlSMYpmD7VcuZiJA9lStK75mZu0ijisbffhQAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII= +1ms

... more

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
bartvenemancommented, Apr 4, 2020

Thanks! 🥳

1reaction
Kikobeatscommented, Mar 23, 2020

@bartveneman can you give me a production URL for testing purposes? 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Base64 Image encoding for Image src · Issue #404 - GitHub
I have considered saving the images I want to a folder and using them, which does work, but ideally I'd like to base...
Read more >
404 error while using base64 to display the image
Hi I am trying extract user profile photo to use in adaptive card in teams, however ending with 404 error. Can someone help...
Read more >
How do I fix a 404 Error created through data:image/gif ...
It seems that this issue was triggered by the JetPack Lazy Load settings. These have since been turned off and the issue has...
Read more >
data: is removed from it's URL for base64 images resulting in ...
This results in a 404 error on each page where we have Smartsliders (see screenshot). Why is Toolset removing the data protocol from...
Read more >
Base 64 GIF Code - 404 Error - Cloudflare Community
This results in Ahrefs scans displaying 404 errors for all URLs; for example, the URL below loads fine, but there is an added...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found