Revert r49669, r49670 "extract text layer from djvu file (see bug 18046)"
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 28 Apr 2009 22:54:18 +0000 (22:54 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 28 Apr 2009 22:54:18 +0000 (22:54 +0000)
commitc186ff5e916edd922c3a7484e9ba3d196e862877
tree46b4ebbf54c3ffab30cccb90183724fb8fb9f6f2
parent4184fc27e20a35a595ba84bc2acd5e12490441da
Revert r49669, r49670 "extract text layer from djvu file (see bug 18046)"

I don't really like the use of sed here; it's an extra Unix dependency which seems unnecessary, when we could trivially do the escaping in the code.

The ajax fetch added in r49670 also looks like a big security hole:
* Manual use of curl should be avoided; it may not be installed, and 'localhost' may not do anything useful.
* Further this appears to be a general "fetch any foreign URL and pass the data through" which is a serious security hole.
includes/DefaultSettings.php
includes/media/DjVu.php