You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Michiel van Loon <mf...@xs4all.nl> on 1997/12/20 10:18:18 UTC

mod_proxy/1583: Error in netscapehost.patch

>Number:         1583
>Category:       mod_proxy
>Synopsis:       Error in netscapehost.patch
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Dec 20 01:20:00 PST 1997
>Last-Modified:
>Originator:     mfvl@xs4all.nl
>Organization:
apache
>Release:        1.2.4
>Environment:
Linux 2.0.33
gcc compile 2.7.2.3
>Description:
In the file 'netscapehost.patch' is a small error. After the new host has been
compiled (www. prepended and/or .com appended) the string url is added. 
This should however be urlptr iso url.
>How-To-Repeat:
When you enter as url eg. dell the URL gets translated to

http://www.dell.com/http://dell
>Fix:
change the line 
  strcat(try,url)
to
  strcat(try,urlptr)

A new netscapehost.patch (with the correct linenumbers too)
can be provided if needed.
%0
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]