You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@worldgate.com> on 1997/07/30 21:08:55 UTC

bogus Location: header from new bugdb.cgi

  +    # If we were given an explicit PR number, redirect the browser
  +    # there.
  +    #
  +    if ($oldval = $restrict{'pr'}) {
  +     return &emit_preamble (1, "http:$SCRIPT_NAME/full/$oldval");
  +    }

That is bogus.

It generates:

0x0000  4854 5450 2f31 2e31 2033 3032 204d 6f76         |HTTP/1.1 302 Mov|
0x0010  6564 2054 656d 706f 7261 7269 6c79 0d0a         |ed Temporarily..|
0x0020  4461 7465 3a20 5765 642c 2033 3020 4a75         |Date: Wed, 30 Ju|
0x0030  6c20 3139 3937 2031 393a 3036 3a33 3620         |l 1997 19:06:36 |
0x0040  474d 540d 0a53 6572 7665 723a 2041 7061         |GMT..Server: Apa|
0x0050  6368 652f 312e 332d 6465 760d 0a4c 6f63         |che/1.3-dev..Loc|
0x0060  6174 696f 6e3a 2068 7474 703a 2f62 7567         |ation: http:/bug|
0x0070  6462 2e63 6769 2f66 756c 6c2f 3636 360d         |db.cgi/full/666.|

It has to be a full URL.  That... erm... isn't.


Re: bogus Location: header from new bugdb.cgi

Posted by Dean Gaudet <dg...@arctic.org>.
Yeah netscape and IE support this, but lynx doesn't. 

Dean

On Wed, 30 Jul 1997, Marc Slemko wrote:

>   +    # If we were given an explicit PR number, redirect the browser
>   +    # there.
>   +    #
>   +    if ($oldval = $restrict{'pr'}) {
>   +     return &emit_preamble (1, "http:$SCRIPT_NAME/full/$oldval");
>   +    }
> 
> That is bogus.
> 
> It generates:
> 
> 0x0000  4854 5450 2f31 2e31 2033 3032 204d 6f76         |HTTP/1.1 302 Mov|
> 0x0010  6564 2054 656d 706f 7261 7269 6c79 0d0a         |ed Temporarily..|
> 0x0020  4461 7465 3a20 5765 642c 2033 3020 4a75         |Date: Wed, 30 Ju|
> 0x0030  6c20 3139 3937 2031 393a 3036 3a33 3620         |l 1997 19:06:36 |
> 0x0040  474d 540d 0a53 6572 7665 723a 2041 7061         |GMT..Server: Apa|
> 0x0050  6368 652f 312e 332d 6465 760d 0a4c 6f63         |che/1.3-dev..Loc|
> 0x0060  6174 696f 6e3a 2068 7474 703a 2f62 7567         |ation: http:/bug|
> 0x0070  6462 2e63 6769 2f66 756c 6c2f 3636 360d         |db.cgi/full/666.|
> 
> It has to be a full URL.  That... erm... isn't.
> 
>