APIs-guru / openapi-directory

🌐 Wikipedia for Web APIs. Directory of REST API definitions in OpenAPI 2.0/3.x format
https://apis.guru/
Creative Commons Zero v1.0 Universal
3.85k stars 579 forks source link

Some logos are invalid - contain HTML #763

Closed rbren closed 3 years ago

rbren commented 3 years ago

E.g. https://api.apis.guru/v2/cache/logo/http_mandrill.com_assets_images_brand_logo-vertical-light-735b5657.png

Probably good to check status code and content type of the response.

MikeRalphson commented 3 years ago

Hmm, we already check status code and that the media-type is image/* so I'll have to investigate some one-off scripts to see what has happened here. Thanks for the report.

MikeRalphson commented 3 years ago

http_1forge.com_logo.png http_mandrill.com_assets_images_brand_logo-vertical-light-735b5657.png https_visagecloud.com_visage-cloud-logo.png https_www.doubleclickbygoogle.com_static_core_img_doubleclick-google-logo-wide.svg

MikeRalphson commented 3 years ago

Checks replicated in all current scripts.