Preemptively add image-set to our sanitizer.
authorDaniel Friesen <daniel@nadir-seen-fire.com>
Fri, 19 Oct 2012 08:12:56 +0000 (01:12 -0700)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 29 Oct 2012 08:32:53 +0000 (08:32 +0000)
commitd9a422f0d1097902bb71f5d1f9f8f344918ec240
treed2775a093f5c201fd111a7286418a98950c996db
parent4c56eb3626209c343df77d9d68013e3ae2ae209f
Preemptively add image-set to our sanitizer.

WebKit's -webkit-image-set() requires a url() to work however css4-images'
version of image-set permits strings such that image-set( 'asdf.png' 1x ) would be permitted
and would bypass our filters.

Change-Id: I366d04807f66df449f791a5e8e2cb58768124a9a
includes/Sanitizer.php
tests/phpunit/includes/SanitizerTest.php