From:             mbiama at angosso dot com
Operating system: ALL
PHP version:      5.5.4
Package:          Filter related
Bug Type:         Bug
Bug description:Layout.php refferal LDAP

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 bug report at https://bugs.php.net/bug.php?id=65783&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=65783&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=65783&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=65783&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=65783&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=65783&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=65783&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=65783&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=65783&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=65783&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=65783&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=65783&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=65783&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=65783&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65783&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=65783&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=65783&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=65783&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65783&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=65783&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65783&r=mysqlcfg

Reply via email to