https://bugs.kde.org/show_bug.cgi?id=359951

            Bug ID: 359951
           Summary: ktorrent web interface displays no icons
           Product: ktorrent
           Version: 4.3.1
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: g...@politeia.in

Hello, KTorrent's web interface doesn't properly handle the icons thus modern
web browsers don't display any icons.

Reproducible: Always

Steps to Reproduce:
1. Enable Web Interface
2. Use a web browser and have .svg icons pack (breezer - plasma 5?)
3. Screenshot: http://i.imgur.com/upH7UUR.png

Actual Results:  
After the (ajax?) request the icons are (incorrectly) returned as type/xml to
the browser.


A proposed solution would be to add svg support to ExtensionToContentType():

At:
https://github.com/KDE/ktorrent/blob/master/plugins/webinterface/httpserver.cpp#L257

```
        else if (ext == "svg")
            return "image/svg+xml";
```

would be enough I guess...

Regards.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to