[imp] Re: Help w/IMP -- IE attachment bug

Michael M Slusarz slusarz at bigworm.colorado.edu
Tue Feb 4 14:36:08 PST 2003


Quoting Tim Meader <tmeader at cne-odin.gsfc.nasa.gov>:

| The cause of this bug seems to be one which affects IE quite often. In
| writing a web based file storage system, I came across the same strange
| issue with IE (attaching .php to the end of every download), but this
| time
| in Perl.  There are a couple way around this. One would be to change the
| name of the download script to not have a .php extension (obviously I
| don't
| think this is doable for PHP scripts though unless they are in a
| ScriptAliased directory). Another solution, and the one I chose to
| implement is to use mod_rewrite (this is all assuming that Apache is
| being
| used) to redirect certain URLs to your download script and don't actually
| load the script name in the browser. I realize that none of this is
| particularly helpful to the current IMP problem with this, but I just
| wanted to let everyone know that it doesn't appear to be PHP specific.
| Also, I don't believe this can be solved by merely rewriting the header
| that is sent to the browser, or anything quite so simple. If I'm wrong in
| this please let me know.

The new code just backported from HEAD to IMP 3.2-RC1 should handle all
these situations.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list