Red Hat Bugzilla – Bug 25322
Serious vehaviour change in empy php variables
Last modified: 2005-10-31 17:00:50 EST
A critical application of one of my customers has stoped working after
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.
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 ***
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