#2143 Bug: Pagure Docs doesn't show images as images
Closed: Duplicate 7 years ago Opened 7 years ago by asamalik.

Hey!

I host the Fedora Modularity documentation on Pagure Docs. When images are opened directly, they won't show up as images. Example:

It works properly when I test the website on my local webserver.


Metadata Update from @pingou:
- Issue tagged with: bug

7 years ago

The problem is Pagure is telling falsehoods about the content type:

> GET /modularity/_images/life-of-a-package-update-future-no-automation.png HTTP/1.1
> Host: docs.pagure.org
> User-Agent: curl/7.51.0
> Accept: */*
> 
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0< HTTP/1.1 200 OK
< Date: Wed, 22 Mar 2017 13:34:13 GMT
< Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5
< Strict-Transport-Security: max-age=15768000; includeSubDomains; preload
< Content-Length: 130455
< Content-Type: text/html; charset=utf-8

It's definitely not text/html.

Let's close this one as duplicate of #496.

Metadata Update from @pingou:
- Issue close_status updated to: Duplicate
- Issue status updated to: Closed (was: Open)

7 years ago

Login to comment on this ticket.

Metadata