Bug 25322

Summary: Serious vehaviour change in empy php variables
Product: [Retired] Red Hat Linux Reporter: Victoriano Giralt <vic>
Component: phpAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: high    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-30 19:07:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Victoriano Giralt 2001-01-30 19:07:31 UTC
A critical application of one of my customers has stoped working after
installing php-4.0.4pl1
errara RPM. Suddenly, all empty variables get whitespace that look like
newlines (well the produce newlines in the html generated code), so all
checks for empty strungs fail as newline is not empty. There is a
workaround (trimming everiyhing before use) but that is inducing quite a
big code rewrite.

Comment 1 Nalin Dahyabhai 2001-01-30 20:55:56 UTC
Please check if the test packages (php-4.0.4pl1-5) in
http://people.redhat.com/nalin/test/ fix this.  This appears to have been a very
unfortunate side-effect of parsing fixes.

*** This bug has been marked as a duplicate of 24933 ***

Comment 2 Victoriano Giralt 2001-01-30 21:16:45 UTC
You've been very fast. I had found the link to your patch in #24933 and tried
the RPMs. The newline, which was realliy prepended to all flieds, has
dissapiared, and everything seems to be back to normal. I have to do some more
tests with the file fields.

Thanks for such prompt response