🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.reader
Article #8798

emailing inside addon uses aspx extension

#8798
From: bryuill
Date: Thu, 25 Jan 2007 16:33
25 lines
2102 bytes
Hi,

Situation: I have an aspx page that generates a pdf report and mimes it
back to the user as an inline pdf (Content-Disposition is inline,
ContentType is application/pdf).

Pdf comes up in Acrobat Reader 7 addon inside Internet Explorer 7.
Addon's Save As works fine giving a filename of my aspx page name and
an extension of .pdf. Addon's E-mail Send Copy gives me the same
filename but with an extension of .aspx. Not good.

I found what feels like a bit of a hack where if I put a
'?EXT=/filename.PDF' on my aspx URL then the addon gives me the
filename.pdf name for emailing, However when I do a Save As I get a
large filename like
http___frog_CAISSettlements_CAISSettlementReportView.aspx_EXT=_CAISSettlementReport.pdf.

I'm planning to go with the EXT switch for now and live with the long
filename for Save As but I'd like something cleaner.

Question:
Is there any other solution I can use that will give me a friendly
filename for both Email and Save As within the reader addon?

Brian
Technical Details
Message-ID: <1169742821.931273.257640@l53g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!l53g2000cwa.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10273d,715c2fbee636338c,start
X-Google-Attributes: gid10273d,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!l53g2000cwa.googlegroups.com!not-for-mail
From: bryuill@hotmail.com
Newsgroups: adobe.reader
Subject: emailing inside addon uses aspx extension
Date: 25 Jan 2007 08:33:42 -0800
Organization: http://groups.google.com
Lines: 26
Message-ID: <1169742821.931273.257640@l53g2000cwa.googlegroups.com>
NNTP-Posting-Host: 209.29.182.225
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1169742838 18015 127.0.0.1 (25 Jan 2007 16:33:58 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 25 Jan 2007 16:33:58 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: l53g2000cwa.googlegroups.com; posting-host=209.29.182.225;
   posting-account=8i4fyw0AAAAl0tL8fbuIEGsDmwdqkWzs