Page MenuHomePhabricator

Photos with HTML tags on exif tags fail upload with `verification-error`
Closed, ResolvedPublic

Description

A few photos are giving us verification-error back from the commons api.
Full error message:

('verification-error', 'This file contains HTML or script code that may be erroneously interpreted by a web browser.', 'See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.')

Some affected photos:
255234975
38025860
39548244
234853097
234851541
234852329
234854245
234858757
234856783
233511923
233511031
233515953

Related Objects

Event Timeline

This seems to be due to html tags on the exif data for those photos. https://paws-public.wmflabs.org/paws/user/chicocvenancio/notebooks/T201248.ipynb

We could in theory remove or sanitize the exif data, but I would like a bit of input from the rest of the community on the best course of action here.

Chicocvenancio renamed this task from Investigate verification-error with import-500px to Photos with HTML tags on exif tags fail upload with `verification-error` .Aug 5 2018, 2:04 AM