Closed Bug 161992 Opened 22 years ago Closed 22 years ago

PHP forums add .php extention to attachments where they shouldn't

Categories

(Core Graveyard :: File Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 65827

People

(Reporter: alphawolf_, Assigned: law)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020809
BuildID:    2002080908

This relates to bug 120327, only is a different technical reason why the file is
being renamed (hence I am filing as a different bug as suggested by comment #327).

On PHP generated vbulletin based sites, mozilla adds a .php extention to all
downloaded attachments. Here are 3 different examples from 3 different sites, it
doesn't add the .php extention in any other browser, so I know that these sites
don't intentionaly do this to attachments:

http://www.dealdatabase.com/forum/attachment.php?s=6bdc99dbac7023938257be2bf5ae061c&postid=56530
http://www.emutalk.net/attachment.php?s=2847cb6e82e3b6bb910cb4959482062a&postid=63598
http://www.tivocommunity.com/tivo-vb/attachment.php?s=2aad875360b3e3a714194a251463e4eb&postid=644657

BTW, I am using a build that has bug 120327 fixed.

Reproducible: Always
Steps to Reproduce:
1. Download an attachment from a vbulletin forum.
2. Notice mozilla tries to save as a .php file.

Expected Results:  shouldn't add that extention by default
from bug 120327 comment 325:

> bz fixed the most common case.  I'm marking this bug as fixed to get it off the
> mostfreq list and to prevent new bugs from being "lost" as dups of this bug or
> comments on this bug.  There are already bugs for most of the other cases in
> this bug's blocks list.


HTTP/1.1 200 OK
Content-disposition: atachment; filename=mplex.zip
Content-Length: 604848


==> sums up to bug 65827

*** This bug has been marked as a duplicate of 65827 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Verified.  alphawolf_@cox.net, thanks for the excellent report (and for not
spamming bug 120327!)
.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.