Re: 4.1.0RC4
| From: | Hellekin O. Wild | Date: | Sun, 02 Dec 2001 20:28:28 +0000 |
| Subject: | Re: 4.1.0RC4 | ||
| References: | 1 2 3 4 5 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-4112@lists.php.net to get a copy of this message | ||
Here are a few tests for critical bugs and the ldap issue...
I added http://php.hellekin.com/test/bug-#bugID.php URLs for each bug tested here.
Adding "s" to the URL shows you the source (.phps that is).
[Note : although "AddHandler application/x-httpd-php-source .phps" is set in my httpd.conf, I can't read .phps (no output at all, no error). Can someone check ?]
Bug #8449 : http://bugs.php.net/bug.php?id=8449
In action : http://php.hellekin.com/test/bug-8449.php
If register_globals = off, everything's OK. If not, all vars are set to both $_GET and $_POST.
It happens only with arrays holding the same name in GET and POST.
Variable order is kept : if person[age] is set both with GET and POST, the POST var is taken but propagated to GET also.
Bug #11813 : http://bugs.php.net/bug.php?id=11813
Not tested under Win32. Works Ok with Linux.
Bug #13703 : http://bugs.php.net/bug.php?id=13703
Outputs "Another A->test()" instead of "A->test()". Zeev said it would be closed in a later release.
Bug #14136 : http://bugs.php.net/bug.php?id=14136
Asked lenar@vision.ee for a test script. The script works OK if you use xslt_free() but crashes (segfault) if you don't.
In action : http://php.hellekin.com/test/bug-14136.php (working state. Just copy the script from .phps and comment the $p->free() statement at the end of it to see it crash).
At 18:23 2001-12-01 +0100, Stig Venaas wrote:
*** Confirmed for RC4 on Debian : "cn" is output and the following errors appear : [01-Dec-2001 22:05:38] PHP Warning: Supplied argument is not a valid ldap ber entry resource in /data/www/hellekin/_php/test/test_ldap.php on line 20 (which is the ldap_next_attribute() call) [01-Dec-2001 22:05:38] PHP Warning: Unknown list entry type in request shutdown (0) in Unknown on line 0 In action: http://php.hellekin.com/test/test-ldap.php hellekin$ds=ldap_connect("158.38.60.76"); ldap_bind($ds,"",""); $sr=ldap_search($ds,"dc=uninett,dc=no", "objectclass=person", array("cn","mail")); $entry = ldap_first_entry($ds, $sr); echo ldap_first_attribute($ds, $entry, $ber); echo ldap_next_attribute($ds, $entry, $ber); If it works, you should get "cnmail" as output. As it is now, you will get an error that $ber is not a valid resource, since neither of the functions set $ber. This works with latest CVS and if you apply my latest ldap.c change to 4.1.0.Anyone want to step up and test this?Of course I've tested this myself. It's now in the 4.0.7 branch, and should be in RC5. It would be reassuring if this and other LDAP things were tested by the QA team though. I'll try to do more LDAP testing myself with future releases. Stig