Last modified: 2012-08-02 22:50:05 UTC
From IRC: [11:28] AaronSchulz domas: https://upload.wikimedia.org/wikipedia/commons/thumb/x/xx/Little_kitten_.jpg/799px-Little_kittenajsdhfa_.jpg [11:28] AaronSchulz hehe, file deletion won't purge that I bet [11:28] AaronSchulz it sends the purge URLs based on the actual relative path, not that fake one I posted with fake hash dirs [11:29] AaronSchulz one could upload pr0n and hotlink to thumbs for days without them going away even if the source file was deleted thumb.php should redirect or give an error in such cases.
Fixed thumb.php in r111076. Since WMF still uses thumb-handler.php, the fix has no effect in that case.
Ben, this one is now solely dependent on eliminating ms5 from the thumbnail path, so I'm assigning it to you.
I need to make the tiff/ogg extensions use the ExtractThumbParameters hook in thumb.php as well before we can start using its 404 handling.
(In reply to comment #3) > I need to make the tiff/ogg extensions use the ExtractThumbParameters hook in > thumb.php as well before we can start using its 404 handling. Done in r111199.
To switch over: a) 404 handling must be enabled on the scalars to rewrite to thumb_handler.php b) rewrite.py change to use the scalars directly on 404 c) thumb-handler.php on nginx server could eventually be disabled, though that's not required for this bug
The new handler has been deployed already.