Fix enhanced RC data attribute sanitizing
authorGergő Tisza <tgr.huwiki@gmail.com>
Wed, 14 Jun 2017 21:01:31 +0000 (23:01 +0200)
committerGreg Grossmeier <greg@wikimedia.org>
Thu, 15 Jun 2017 00:02:44 +0000 (00:02 +0000)
commit94749fa62e95407fc82d9875caf5434a97d4620f
treebff5e9f16b4ab5256a47aaa005344c7453365267
parent455b69b45399141784128753d99b0091a10d3942
Fix enhanced RC data attribute sanitizing

We push 'class' in the attribute array so the hook
can manipulate it, so it needs to be added to the attribute
whitelist as well.

Broken in I6dd006d0b1b0fd35c0020f0f9eea9113eca30b35.

Bug: T167922
Bug: T167535
Change-Id: Ic24400382a9dcbb990e12dfddae4ab7db14553cc
includes/changes/EnhancedChangesList.php
tests/phpunit/includes/changes/EnhancedChangesListTest.php