Page MenuHomePhabricator

An SVG being served as text/plain
Closed, DuplicatePublic

Description

This SVG: https://en.wikipedia.org/wiki/File:Molten_Salt_Reactor.svg shows up as its SVG source in Firefox, rather than an image, because it's being served as text/plain. All other SVGs I checked show up fine.

Event Timeline

Hi @SilverbackNet, thanks for taking the time to report this!
However the URL you provided is a link to a page, not a file, and that page displays a PNG preview for me.
Did you refer to "Original File" at https://upload.wikimedia.org/wikipedia/commons/0/08/Molten_Salt_Reactor.svg instead?
Cannot reproduce either with that one:

$:andre\> wget https://upload.wikimedia.org/wikipedia/commons/0/08/Molten_Salt_Reactor.svg
Resolving upload.wikimedia.org (upload.wikimedia.org)... 91.198.174.208, 2620:0:862:ed1a::2:b
Connecting to upload.wikimedia.org (upload.wikimedia.org)|91.198.174.208|:443... connected.
2017-02-09 09:22:41 - ‘Molten_Salt_Reactor.svg’ saved [117639]
$:andre\> gvfs-info Molten_Salt_Reactor.svg
size:  117639
attributes:
  standard::type: 1
  standard::icon: image-svg+xml, image-x-generic
  standard::content-type: image/svg+xml
  standard::fast-content-type: image/svg+xml
  standard::size: 117639
  standard::allocated-size: 118784
  standard::symbolic-icon: image-svg+xml-symbolic, image-x-generic-symbolic, image-svg+xml, image-x-generic

If you have time and can still reproduce the problem, please add a more complete description to this report. Ideally, exact and clear steps to reproduce should allow any other person to follow these steps (without having to interpret those steps) and see the same results. Problems that others can reliably reproduce can get fixed faster. Thanks!

Looks like this is the same problem as T150929 hence marking as a duplicate. Thanks!

Aklapper closed this task as a duplicate of Restricted Task.Feb 9 2017, 8:29 AM

Thanks, it looks like that is indeed the same problem.