Re: [WebDNA] ReturnRAW problem with Safari

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112376
interpreted = N
texte = --001a11c1a808510934051c14da38 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Stuart, Hi - no redirection. As the 'download.html' page has the mime-type set to 'application/octet-stream' it forces it to download, so the browser should never actually open / display it. Is it a bug? I don't know to be honest, all to do with how WebDNA interacts with Apache. Does WebDNA process before Apache serves the template or is it the other way around. If it's the former then I suppose it is a bug. - Tom =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On 30 July 2015 at 10:47, Stuart Tremain wrote: > Tom > > I just had a look at your example, are you doing a redirect back to the > original page ? > > > Kind regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > > > > > On 30 Jul 2015, at 19:45, Stuart Tremain wrote: > > Thanks Tom. > > I didn=E2=80=99t want to have to do it that way, may have to do some redi= rection > back or something. > > Would you consider this a bug ? > > > Kind regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > > > > > On 30 Jul 2015, at 19:39, Tom Duke wrote: > > Stuart, > > Hi - the WebDNA page is being served out as text/html - the 'Content-Type= ' > setting within the '[returnraw]' is not being set. I have this issue as > well using WebDNA 6.2 on CentOS5. > > So ... > > You need to set up two pages, one that lists the files (index.html) and > one that contains the '[returnraw]' code and serves out the files > (download.html). Then add a .htaccess file with: > > > AddType application/octet-stream html > > > This sets the correct mime-type for the download page and the download > should work as expected in all browsers: > > http://www.revolutionaries.ie/testspace/returnraw/ > > Take care > - Tom > > > > > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Digital Revolutionaries > 1st Floor, Castleriver House > 14-15 Parliament Street > Temple Bar,Dublin 2 > Ireland > ---------------------------------------------- > [t]: + 353 1 4403907 > [e]: > [w]: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > On 30 July 2015 at 03:25, Stuart Tremain wrote: > >> Hi >> >> I am not sure if ReturnRaw gets much use but I have been experimenting >> with it lately and have encountered a big problem with Safari on Mac. >> >> http://www.webdna.us/page.dna?numero=3D257 >> >> Using the BinaryBody option and example at the bottom of the page I can >> get this to work properly in Chrome & Firefox but in Safari the file alw= ays >> downloads with a .html extension. >> >> I have spent hours with server (Apache2 on Ubuntu 12.04) & .htaccess >> configs but can not get it to go away !! >> >> Does anyone have any insights with this ? >> >> >> >> >> Kind regards >> >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >> >> >> >> >> >> --------------------------------------------------------- This message i= s >> sent to you because you are subscribed to the mailing list . To >> unsubscribe, E-mail to: archives: >> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: >> support@webdna.us > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.u= s > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.u= s > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.u= s > --001a11c1a808510934051c14da38 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Stuart,

Hi - no redirection.
=
As the 'download.html' page has the mime-type set to= 'application/octet-stream' it forces it to download, so the browse= r should never actually open / display it.

Is it a= bug? =C2=A0 I don't know to be honest, all to do with how WebDNA inter= acts with Apache.=C2=A0 Does WebDNA process before Apache serves the templa= te or is it the other way around.=C2=A0 If it's the former then I suppo= se it is a bug.

- Tom




=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital Revolu= tionaries
1st Floor, Castleriver House
14-15 Parliament Street
Tem= ple Bar,Dublin 2
Ireland
--------------------------------------------= --
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <<= a href=3D"http://www.revolutionaries.ie/" target=3D"_blank">http://www.revo= lutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

On 30 July 2015 at 10:47, Stuart Tremain <= webdna@idfk.com.au> wrote:
=
Tom

I just had a loo= k at your example, are you doing a redirect back to the original page ?


Kind regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 30= Jul 2015, at 19:45, Stuart Tremain <webdna@idfk.com.au> wrote:

Thanks Tom.

I didn=E2=80= =99t want to have to do it that way, may have to do some redirection back o= r something.

Would you consider this a bug ?
=


Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 30 Jul 2015, at 19:39, Tom Duke = <tom@revolut= ionaries.ie> wrote:

Stuart,

<= /div>
Hi - the WebDNA page is being served out as text/html - the '= Content-Type' setting within the '[returnraw]' is not being set= .=C2=A0 I have this issue as well using WebDNA 6.2 on CentOS5.
So ...

You need to set up two pages, = one that lists the files (index.html) and one that contains the '[retur= nraw]' code and serves out the files (download.html). =C2=A0 Then add a= .htaccess file with:

<Files download.html= >
AddType applica= tion/octet-stream html
</Files>

<= div>This sets the correct mime-type for the download page and the download = should work as expected in all browsers:

=C2=A0 = =C2=A0 =C2=A0http://www.revolutionaries.ie/testspace/returnraw/

Take care
- Tom

=






=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Par= liament Street
Temple Bar,Dublin 2
Ireland
-----------------------= -----------------------
[t]: + 353 1 4403907
[e]: <mailt= o:tom@revolutio= naries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

On 30 July 2015 at 03:25, Stuart Tremain <= webdna@idfk.com.au> wrote:
=
Hi

I am not sure if = ReturnRaw gets much use but I have been experimenting with it lately and ha= ve encountered a big problem with Safari on Mac.

<= a href=3D"http://www.webdna.us/page.dna?numero=3D257" target=3D"_blank">htt= p://www.webdna.us/page.dna?numero=3D257

Using = the BinaryBody option and example at the bottom of the page I can get this = to work properly in Chrome & Firefox but in Safari the file always down= loads with a .html extension.

I have spent hours w= ith server (Apache2 on Ubuntu 12.04) & .htaccess configs but can not ge= t it to go away !!

Does anyone have any insights w= ith this ?




Kind regards

Stuart= Tremain
IDFK Web Developments
AUSTRALIA




--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--001a11c1a808510934051c14da38-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] ReturnRAW problem with Safari (Stuart Tremain 2015)
  2. Re: [WebDNA] ReturnRAW problem with Safari (Tom Duke 2015)
  3. Re: [WebDNA] ReturnRAW problem with Safari (Tom Duke 2015)
  4. Re: [WebDNA] ReturnRAW problem with Safari (Stuart Tremain 2015)
  5. Re: [WebDNA] ReturnRAW problem with Safari (Stuart Tremain 2015)
  6. Re: [WebDNA] ReturnRAW problem with Safari (Tom Duke 2015)
  7. [WebDNA] ReturnRAW problem with Safari (Stuart Tremain 2015)
--001a11c1a808510934051c14da38 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Stuart, Hi - no redirection. As the 'download.html' page has the mime-type set to 'application/octet-stream' it forces it to download, so the browser should never actually open / display it. Is it a bug? I don't know to be honest, all to do with how WebDNA interacts with Apache. Does WebDNA process before Apache serves the template or is it the other way around. If it's the former then I suppose it is a bug. - Tom =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On 30 July 2015 at 10:47, Stuart Tremain wrote: > Tom > > I just had a look at your example, are you doing a redirect back to the > original page ? > > > Kind regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > > > > > On 30 Jul 2015, at 19:45, Stuart Tremain wrote: > > Thanks Tom. > > I didn=E2=80=99t want to have to do it that way, may have to do some redi= rection > back or something. > > Would you consider this a bug ? > > > Kind regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > > > > > On 30 Jul 2015, at 19:39, Tom Duke wrote: > > Stuart, > > Hi - the WebDNA page is being served out as text/html - the 'Content-Type= ' > setting within the '[returnraw]' is not being set. I have this issue as > well using WebDNA 6.2 on CentOS5. > > So ... > > You need to set up two pages, one that lists the files (index.html) and > one that contains the '[returnraw]' code and serves out the files > (download.html). Then add a .htaccess file with: > > > AddType application/octet-stream html > > > This sets the correct mime-type for the download page and the download > should work as expected in all browsers: > > http://www.revolutionaries.ie/testspace/returnraw/ > > Take care > - Tom > > > > > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Digital Revolutionaries > 1st Floor, Castleriver House > 14-15 Parliament Street > Temple Bar,Dublin 2 > Ireland > ---------------------------------------------- > [t]: + 353 1 4403907 > [e]: > [w]: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > On 30 July 2015 at 03:25, Stuart Tremain wrote: > >> Hi >> >> I am not sure if ReturnRaw gets much use but I have been experimenting >> with it lately and have encountered a big problem with Safari on Mac. >> >> http://www.webdna.us/page.dna?numero=3D257 >> >> Using the BinaryBody option and example at the bottom of the page I can >> get this to work properly in Chrome & Firefox but in Safari the file alw= ays >> downloads with a .html extension. >> >> I have spent hours with server (Apache2 on Ubuntu 12.04) & .htaccess >> configs but can not get it to go away !! >> >> Does anyone have any insights with this ? >> >> >> >> >> Kind regards >> >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >> >> >> >> >> >> --------------------------------------------------------- This message i= s >> sent to you because you are subscribed to the mailing list . To >> unsubscribe, E-mail to: archives: >> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: >> support@webdna.us > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.u= s > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.u= s > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.u= s > --001a11c1a808510934051c14da38 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Stuart,

Hi - no redirection.
=
As the 'download.html' page has the mime-type set to= 'application/octet-stream' it forces it to download, so the browse= r should never actually open / display it.

Is it a= bug? =C2=A0 I don't know to be honest, all to do with how WebDNA inter= acts with Apache.=C2=A0 Does WebDNA process before Apache serves the templa= te or is it the other way around.=C2=A0 If it's the former then I suppo= se it is a bug.

- Tom




=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital Revolu= tionaries
1st Floor, Castleriver House
14-15 Parliament Street
Tem= ple Bar,Dublin 2
Ireland
--------------------------------------------= --
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <<= a href=3D"http://www.revolutionaries.ie/" target=3D"_blank">http://www.revo= lutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

On 30 July 2015 at 10:47, Stuart Tremain <= webdna@idfk.com.au> wrote:
=
Tom

I just had a loo= k at your example, are you doing a redirect back to the original page ?


Kind regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 30= Jul 2015, at 19:45, Stuart Tremain <webdna@idfk.com.au> wrote:

Thanks Tom.

I didn=E2=80= =99t want to have to do it that way, may have to do some redirection back o= r something.

Would you consider this a bug ?
=


Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 30 Jul 2015, at 19:39, Tom Duke = <tom@revolut= ionaries.ie> wrote:

Stuart,

<= /div>
Hi - the WebDNA page is being served out as text/html - the '= Content-Type' setting within the '[returnraw]' is not being set= .=C2=A0 I have this issue as well using WebDNA 6.2 on CentOS5.
So ...

You need to set up two pages, = one that lists the files (index.html) and one that contains the '[retur= nraw]' code and serves out the files (download.html). =C2=A0 Then add a= .htaccess file with:

<Files download.html= >
AddType applica= tion/octet-stream html
</Files>

<= div>This sets the correct mime-type for the download page and the download = should work as expected in all browsers:

=C2=A0 = =C2=A0 =C2=A0http://www.revolutionaries.ie/testspace/returnraw/

Take care
- Tom

=






=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Par= liament Street
Temple Bar,Dublin 2
Ireland
-----------------------= -----------------------
[t]: + 353 1 4403907
[e]: <mailt= o:tom@revolutio= naries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

On 30 July 2015 at 03:25, Stuart Tremain <= webdna@idfk.com.au> wrote:
=
Hi

I am not sure if = ReturnRaw gets much use but I have been experimenting with it lately and ha= ve encountered a big problem with Safari on Mac.

<= a href=3D"http://www.webdna.us/page.dna?numero=3D257" target=3D"_blank">htt= p://www.webdna.us/page.dna?numero=3D257

Using = the BinaryBody option and example at the bottom of the page I can get this = to work properly in Chrome & Firefox but in Safari the file always down= loads with a .html extension.

I have spent hours w= ith server (Apache2 on Ubuntu 12.04) & .htaccess configs but can not ge= t it to go away !!

Does anyone have any insights w= ith this ?




Kind regards

Stuart= Tremain
IDFK Web Developments
AUSTRALIA




--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--001a11c1a808510934051c14da38-- Tom Duke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Backwards list behavior ... (1997) Clickable Maps (1996) Re:URGENT: WebCatalog 2.0 (1998) Error Lob.db records error message not name (1997) A Global Variable (1997) Problems getting parameters passed into email. (1997) flushdatabases (2000) [OrderFile] being testy (2000) More than one db with the same namn (was: WC2f3) (1997) multi-paragraph fields (1997) Sku numbers (1997) Sample Tearoom Search Error - Solved! (1997) [searchString] (1997) 2.1b3 --> way slow (1997) [isfolder] and [filename] (1997) Country & Ship-to address & other fields ? (1997) Where is f2? (1997) BUG in [showif] using ^ (contains) (1997) Need help with emailer- 2 issues (1997) WebCat2_Mac RETURNs in .db (1997)