#89 Wrong mimetype on 404 error
Opened 4 years ago by jlanda. Modified 4 years ago

src.fp.o theme tries to connect to https://apps.fedoraproject.org/mdapi/rawhide/srcpkg/{package_name}

When mdapi returns 404s, we are getting a X-Content-Type-Options: nosniff block from firefox since the 404 error's mimetype is text/plain.

Reproducer: https://src.stg.fedoraproject.org/rpms/fedocal & https://apps.fedoraproject.org/mdapi/rawhide/srcpkg/fedocal


Is that the problem though? When I look at the console in Firefox, I see a block due to CORS.

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #110 Merged 4 years ago