Author: GregUbben
Description:
If your wiki is configured to use img_auth.php for access control, and you have documents like PDFs, Microsoft Word, PowerPoint, or Excel uploaded to your wiki, there is some weird interaction that prevents these documents from being opened directly from Internet Explorer's address bar. If you copy/paste the URL to the uploaded document into the address bar and press Enter, it will pop up an error saying it couldn't access the document. (The exact message varies depending on what document type you try to load, and it isn't always consistent. Word will often add an additional popup saying that it died and a log of the error is being produced.)
Problem was reproduced on two different wiki servers running MediaWiki 1.13.1.
Problem happens with both IE 6.0 on Windows XP and with IE 7 on Vista.
Problem does not happen with Firefox.
Problem does not happen if you click on a link to get to the exact same URL, such as going to the Image: page first then clicking on that link. Only when the URL is entered in the address bar.
Problem does not happen if you put the same document on the server where you can access it without going through img_auth.php.
Problem does not happen with normal .txt files and image files, only with document types like PDF and Microsoft document types.
Problem is consistent -- happens every time.
STEPS TO REPRODUCE:
- Configure wiki to use img_auth.php for accessing uploads
- Upload a PDF or Word document
- Paste the URL of the uploaded document (not the Image: page) into IE and try to access it.
Version: 1.13.x
Severity: minor
OS: Windows Vista
Platform: PC