php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10858 DOS line termination causes PHP to misparse data
Submitted: 2001-05-14 15:41 UTC Modified: 2001-06-10 21:26 UTC
From: phpbugs at improbable dot org Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.5 OS: Linux gigante 2.2.19 #1 Thu Apr
Private report: No CVE-ID: None
 [2001-05-14 15:41 UTC] phpbugs at improbable dot org
Compare 
http://gigante.improbable.org/php/line-term/dos.php and 
http://gigante.improbable.org/php/line-term/dos.phps. 
Comments using the C++ style // syntax are sent to the 
browser as output. heredocs which have a ^M will return 
parse errors.

http://gigante.improbable.org/php/line-term/unix.php and 
http://gigante.improbable.org/php/line-term/unix.phps show 
that all works as expected when using Unix line 
termination.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-14 15:47 UTC] derick@php.net
This is probably fixed in CVS. You you please try a snapshot
from snaps.php.net, or the latest CVS version.

Derick
 [2001-06-10 21:26 UTC] jmoore@php.net
No feedback. Closing.

- James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC