Peer Oliver Schmidt writes:
> I filed a bug report with Opera regarding opening links from within
> Webmail. This is what came back.
>
> Sam, do you think it is a bug within Opera, or is the ball in webmails'
> court?
It's true that Refresh: is not a part of the official HTTP/1.1. Originally
this header was an extension in Netscape, and my implementation is based on
Netscape's (MSIE also uses the same quoting syntax).
The "Location:" header cannot be used because it is something completely
different, and Refresh: is used explicitly due to issues regarding security
(Location: will leak the Referer: header).
The proposal to quote the entire header is wrong. You only need to look at
HTTP/1.1 (RFC 2068) to see how parametrized HTTP headers are generally
quoted. For example, the Content-Type: header is quoted like this:
Content-Type = "Content-Type" ":" media-type
...
media-type = type "/" subtype *( ";" parameter )
...
parameter = attribute "=" value
attribute = token
value = token | quoted-string
Hence, the following quoting is valid:
Content-Type: text/html; charset="us-ascii"
The following quoting is NOT valid:
Content-Type: "text/html; charset=us-ascii"
You can clearly see why the Refresh: header should be quoted used the same
exact syntax.
>
> rgds
> pos
> --------------------
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Date: Fri, 22 Feb 2002 13:36:54 +0100
> Subject: Re: Your Bug Report
> Mime-Version: 1.0
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: 7bit
> X-Mailer: Opera 6.01 build 1046
>
> 22.02.02 09:05:28, [EMAIL PROTECTED] wrote:
>
>> Have you been able to re-create the problem from within the webmail
>> system itself?
>
> Yes, I have. I sent a letter with an URL in, accessed the letter in the
> sent folder and clicked the URL.
> Opera told me that the address type was unknown, and the reason is that
> there is a double quote
> sign (") in front of the http:// that should not be there. The double
> quote sign is there because you
> use this command to go to the address:
>
> Refresh: 0; URL="http://www.opera.com/"
>
> I believe the correct command is:
>
> Refresh: "0; URL=http://www.opera.com/"
>
> As I can not find documentation on this in W3's HTTP specification, the
> Refresh header may be non-
> standard and I think you should use "Location:" instead. Was this clearer?
> --
> Hallvord R. M. Steen - Customer Service Consultant
> Customer Service Dep. - http://www.opera.com
> Check out our online tutorial!
> http://www.opera.com/support/windows/tutorial/
>
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
--
Sam
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users