Bug 25322 - Serious vehaviour change in empy php variables
Summary: Serious vehaviour change in empy php variables
Keywords:
Status: CLOSED DUPLICATE of bug 24933
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: php
Version: 7.0
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-30 19:07 UTC by Victoriano Giralt
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-01-30 19:07:34 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.