img_auth: handle files in the transcoded zone
authorFaidon Liambotis <faidon@wikimedia.org>
Wed, 7 May 2014 17:01:16 +0000 (20:01 +0300)
committerOri.livneh <ori@wikimedia.org>
Thu, 8 May 2014 16:17:33 +0000 (16:17 +0000)
commitd1c62a372a429fe259cc9e6aa5ae41b3ca0bdbd3
tree93acc788febdb80b2c63fea3e659358137848f24
parent40b569aa389ea122c06c3d2742741b3cfc0ba246
img_auth: handle files in the transcoded zone

img_auth.php does not currently handle filepaths for transcoded videos
at all, and instead falls back attempting to open files out of the
public zone, which obviously fails as these files do not exist there.

Add a branch that handles transcoded containers in the same manner as
thumbs and thus allowing access to those files from private wiki.

Bug: 65007
Change-Id: I7182206ba09dd2466fc51aa1d51116dd13db980c
img_auth.php