equalizedigital / accessibility-checker

GNU General Public License v2.0
14 stars 8 forks source link

gifs or webp with missing url scheme cause error when checking if they are animated #544

Closed pattonwebz closed 5 months ago

pattonwebz commented 5 months ago

Please give us a description of what happened.

A scan running against a gif or webp image to check if it is animated fails, it is not able to open the file because of a missing protocol. This blocks the saving of content and throws visible errors to the user.

Please describe what you expected to happen and why.

Plugin handles the missing scheme and does not show error.

How can we reproduce this behavior?

  1. Add <img src="//assets.rewardstyle.com/images/search/350.gif"> to a post
  2. Save the post
  3. See error notice and fail to save message.

Technical info