Thread CGI.pm und Download Header Firefox (32 answers)
Opened by bianca at 2014-03-31 10:31

pq
 2014-03-31 12:35
#174521 #174521
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
2014-03-31T10:25:47 rosti
Aber: Er ist falsch ausgegeben, statt

Attachment; Filename="images.htm"

sende besser

Attachment; Filename=images.htm

also nicht quoten.

nicht zu fassen...

http://www.w3.org/Protocols/rfc2616/rfc2616-sec19....

Zitat:
Quote
19.5.1 Content-Disposition
...
filename-parm = "filename" "=" quoted-string
...
An example is
Content-Disposition: attachment; filename="fname.ext"


ohne quotes akzeptieren es zwar die browser auch, aber als fix vorzuschlagen, die quotes wegzulassen...
Last edited: 2014-03-31 12:48:24 +0200 (CEST)
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread CGI.pm und Download Header Firefox