Download leaving web page open


Jackson, Adam
 

Hi,

 

Our application sends out emails with hyperlinks in them. These hyperlinks open attachments associated with items in the email. The attachment opens fine but some/most of the time a blank web page is left behind when the attachment is closed. Is there a way of closing the web page automatically?

 

Magic xPa 2.5d

 

TIA

 

Adam

 

Adam

Jackson

Senior Manager, Operations and Digital Systems

T  +447949892482

 

E  adam.jackson@...

McLaren Formula 1 Team

McLaren Technology Centre

Chertsey Road, Woking

Surrey, GU21 4YH, UK

mclaren.com

Facebook

Instagram

LinkedIn

Twitter

YouTube

 

The contents of this e-mail are confidential and for the exclusive use of the intended recipient. If you are not the intended recipient you should not read, copy, retransmit or disclose its contents. If you have received this email in error please delete it from your system immediately and notify us either by email or telephone. The views expressed in this communication may not necessarily be the views held by McLaren Racing Limited.
McLaren Racing Limited, McLaren Technology Centre, Chertsey Road, Woking, Surrey, GU21 4YH, UK. Company Number: 01517478


Charles Coe
 

Adam,
I had to read your message a couple times to be sure I understood.  It sounds like someone is closing the page as opposed to the entire browser that is opening as a result of clicking the hyperlink - and it also sounds like you are having two pages opened based on one click of the url.  Or the browser itself is set to open more than one page when the hyperlink is clicked (i.e. some type of home page for a company - but I would not expect it to be blank).

To be clear, is a browser being used to open the attachment?

Maybe you could share an example of the link to an example being opened.  Not sure how Magic would be causing this if the url link is properly formed.

Charles

--
Charles Coe, CPA, MCSE

New Orleans, Louisiana


Jackson, Adam
 

Hi,

 

We do RqHTTPHeader('Content-Disposition: attachment; filename="'&Trim(K)&'"'), then RqHTTPHeader('Content-type: '&Trim(J)) and finally File2Req(Trim(E)). K is filename and J is content type from database (although J gets modified for word and excel as the content type in database is not what we need. E is RepStr('\\<servername>\?<foldername>\'&Trim(D),'/','-') where D is attachment name from url (same as K).

 

The problem is the user clicks on hyper link in email (https://<server address>/magicscripts/mgrqispi.dll?APPNAME=<app name>&amp;prgname=imAttachment&amp;ARGUMENTS=-N<issue ID>,-A<attachment name>") a blank web page is opened and the attachment is opened in associated app to content type (I have “Always Open Links of this type” turned on for most of the common attachment types. I close the attachment in whatever app it opened in but the empty web page is left open.

 

Most attachments are png or jpeg.

 

Hope this helps?

 

Adam

 

Adam

Jackson

Senior Manager, Operations and Digital Systems

T  +447949892482

E  adam.jackson@...

McLaren Formula 1 Team

 

 

From: main@magicu-l.groups.io <main@magicu-l.groups.io> On Behalf Of Charles Coe via groups.io
Sent: 30 September 2022 13:15
To: main@magicu-l.groups.io
Subject: Re: [magicu-l] Download leaving web page open

 

CAUTION: This email originated from outside of McLaren. Do not click links or open attachments unless you recognise the sender and know the content is safe. Report any suspicious emails using the 'Report Phishing Email' button in Outlook.

 

Adam,
I had to read your message a couple times to be sure I understood.  It sounds like someone is closing the page as opposed to the entire browser that is opening as a result of clicking the hyperlink - and it also sounds like you are having two pages opened based on one click of the url.  Or the browser itself is set to open more than one page when the hyperlink is clicked (i.e. some type of home page for a company - but I would not expect it to be blank).

To be clear, is a browser being used to open the attachment?

Maybe you could share an example of the link to an example being opened.  Not sure how Magic would be causing this if the url link is properly formed.

Charles

--
Charles Coe, CPA, MCSE

New Orleans, Louisiana

The contents of this e-mail are confidential and for the exclusive use of the intended recipient. If you are not the intended recipient you should not read, copy, retransmit or disclose its contents. If you have received this email in error please delete it from your system immediately and notify us either by email or telephone. The views expressed in this communication may not necessarily be the views held by McLaren Racing Limited.
McLaren Racing Limited, McLaren Technology Centre, Chertsey Road, Woking, Surrey, GU21 4YH, UK. Company Number: 01517478