Bug #65783 [Opn->Fbk]: Layout.php refferal LDAP
| From: | requinix@php.net | Date: | Sun, 29 Sep 2013 22:19:16 +0000 |
| Subject: | Bug #65783 [Opn->Fbk]: Layout.php refferal LDAP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-181831@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65783&edit=1
ID: 65783
Updated by: requinix@php.net
Reported by: mbiama at angosso dot com
Summary: Layout.php refferal LDAP
-Status: Open
+Status: Feedback
Type: Bug
-Package: Filter related
+Package: LDAP related
Operating System: ALL
PHP Version: 5.5.4
Block user comment: N
Private report: N
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
1. Barely any description. You have to actually describe the bug. In detail, given
that LDAP bugs may be awkward to reproduce.
2. Test script is not valid code and doesn't even look like code to test the bug.
3. Expected result is some strange mix of description and bits of (invalid) code
pieced together.
4. Patch is just a list of file hashes.
Previous Comments:
------------------------------------------------------------------------
[2013-09-29 11:30:58] mbiama at angosso dot com
Description:
------------
$_SERVER array containing information such as headers, paths, and script locations
The ldap server use is UK.ZYRO SiteServer
Test script:
---------------
<?php
register_globals
$_POST['api.hostinger.fr/redir/791491']
<?php
function test() {
$GLOBALS['vars.php'] = "p.pw/UL3";
}
test();
echo "<p>$vars.php</p>";
?>
Expected result:
----------------
LDAP link identifier, returned by ldap_connect();
mixed $newval
function main()
<?php include dirname(__files__).'/uk.zyro/data/a/n/p.pw/UL3/out/vars.php/*'; ?>
(!ldap_set_option($ds, LDAP_OPT_SERVER_CONTROLS, array($'_sortfunction',
$'_sortfunction2'))) {
$array = [
"vars.php/" => "layout.php",
"layout.php" => "vars.php/",
];
echo "Failed to set server controls";
Actual result:
--------------
PHP appears to ignore the referral and ldap_error returns a "referral" message
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65783&edit=1