>Number:         1412
>Category:       mod_cgi
>Synopsis:       Apache rewrites Location: and mangles # for intra-document 
>links
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Nov 13 13:30:01 PST 1997
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.2.1
>Environment:
Linux type-a.ortge.ufl.edu 2.0.29 #1 Tue May 20 14:15:26 EDT 1997 i586
gcc version 2.7.2.1
>Description:
 frop:7 $ echo "course=SDS6411" | CONTENT_LENGTH=500 REQUEST_METHOD=POST 
~httpd/cgi-bin/find-course
Location: /gradcat/dept-counselor-education.html#SDS6411

 frop:2 $ telnet www 80
Trying 128.227.71.81...
Connected to web.ortge.ufl.edu.
Escape character is '^]'.
GET /cgi-bin/find-course?course=SDS6411 HTTP/1.0
Accept: */*

HTTP/1.1 302 Moved Temporarily
Date: Thu, 13 Nov 1997 21:23:55 GMT
Server: Apache/1.2.1
Location: 
http://www.ortge.ufl.edu/gradcat97/dept-counselor-education.html%23SDS6411
Connection: close
Content-Type: text/html

<HTML><HEAD>
<TITLE>302 Moved Temporarily</TITLE>
</HEAD><BODY>
<H1>Moved Temporarily</H1>
The document has moved <A 
HREF="http://www.ortge.ufl.edu/gradcat97/dept-counselor-education.html%23SDS6411";>here</A>.<P>
</BODY></HTML>
>How-To-Repeat:
Write a CGI script that gives identical output 
to that from my command-line example
>Fix:
Don't mangle #s when you process the Location header from a CGI script
>Audit-Trail:
>Unformatted:

Reply via email to