Page MenuHomePhabricator

Redirect images not subject to Bad image list rules
Closed, ResolvedPublic

Description

On my local install, I have an image called "Image:Test.jpg" to which I redirected "Image:Redirect.jpg" to it. I was then able to use "Image:Redirect.jpg" inline, displaying the contents of Image:Test.jpg, despite its listing on the bad image list. It would appear that the wfIsBadImage() check is occurring _before_ redirects are being checked. So the redirect may not be blacklisted, but it's end result is.


Version: unspecified
Severity: normal

Details

Reference
bz15008

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:17 PM
bzimport set Reference to bz15008.

Hmm, guess we need to update the check to follow the redirect chain. Fun!

Assign to VasilievVV, as he add the file redirect feature. Remove 'easy' keyword.