www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Buehler <...@sbcomp.net>
Subject os-windows/1641: Apache not returning correct line feeds
Date Thu, 08 Jan 1998 21:23:00 GMT

>Number:         1641
>Category:       os-windows
>Synopsis:       Apache not returning correct line feeds
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jan  8 13:30:01 PST 1998
>Originator:     skb@sbcomp.net
>Release:        1.3b3
Win95.  Apache 1.3b3 binary distribution
On Win95 perl for win 32 with the latest perl version 5.003_07 Build 315.  When
running a script from the command line, it runs fine.  When running thru the
Windows95 ported Apache 1.3b3, the new lines in the script \n do not give new
line feeds.  I have tried \r\n  and \n\n and it still will not give any line
feeds when displayed on the browser.
Hello World! Hello World! Hello World! Hello World! 
That is the results of the following script when run thru Apache 1.3b3:
print "Content-type: text/html\n\n";
print "Hello World!\n";
print "Hello World!\n\n";
print "Hello World!\n\n\n";
print "Hello World!\r\n";

As you see, there are NO line feeds given returned in the browser.  When run
from a shell, it runs correctly.

[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message