darylldoyle / svg-sanitizer

A PHP SVG/XML Sanitizer
GNU General Public License v2.0
456 stars 68 forks source link

"HTTP error" message when uploading #22

Closed richb-hanover closed 5 years ago

richb-hanover commented 5 years ago

Using both WP 4.9.8 and 5.0.2 and Safe SVG version 1.8.1, I get the following error when dragging a SVG file into the Media window.

image

The afflicted file is at: http://test.richb-hanover.com/downloads/monguin.svg (because I cannot upload a .svg to github(!))

What other information could I collect for diagnosing this?

richb-hanover commented 5 years ago

Sort-of Solved - Updated info:

So this is pretty confusing, but I think I'm working OK now... I'm happy to provide additional info if that would help

darylldoyle commented 5 years ago

Hi @richb-hanover,

This repo is for the sanitisation library itself rather than the WordPress plugin. I see you've opened and closed a ticket in the WordPress support forums (sorry for not getting back to you, been away over Christmas) but I'll close this in preference of that forum!