Handle "file.php?q=image.jpg" as document

Author Message
Scorpion 06/13/2005 09:24 am
Offline Explorer 3.8 treats URL`s like "http://domain.com/page.php?image=image.jpg" as if they are images, because they end with an image extension. But that`s not right. Well, at least, in this case it isn`t. There must be some way to ignore parts that come after .php? / .asp? / ...
So that it would still recognize them as pages and not as images.
Oleg Chernavin 06/13/2005 10:12 am
Offline Explorer will consider this URL as PHP, not as a .JPG file. It takes the filename part before the ? symbol. If it is not so, please let me know how I can reproduce the problem.

Thank you!

Best regards,
Oleg Chernavin
MP Staff
Scorpion 06/13/2005 06:13 pm
Sorry, my mistake. I didn`t notice that he `did` queue the urls from those files. Anyway, good job!
Oleg Chernavin 06/14/2005 08:25 am
No problem. Actually, Offline Explorer identifies the file contents using the MIME type that the server provides. It is independent from the URL.

Oleg.