#27777 [NEW]: basic authentication broken
From: mikx at mikx dot de
Operating system: Windows XP Pro
PHP version: 5.0.0RC1
PHP Bug Type: SOAP related
Bug description: basic authentication broken
Description:
------------
When using basic authentication the soap client does not authenticate
itself automaticly using the options array. You need to add the login and
password in the uri.
Reproduce code:
---------------
_NOT working_
$client = new SoapClient("http://foo.com/bar.wsdl", array(
"login" => "yourLogin",
"password" => "yourPassword"));
_working_
$client = new
SoapClient("http://yourLogin:yourPassword@foo.com/bar.wsdl");
Expected result:
----------------
The SOAP client should take the login and password from the options array
and automaticly authenticate itself.
--
Edit bug report at http://bugs.php.net/?id=27777&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27777&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27777&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27777&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27777&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27777&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27777&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27777&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27777&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27777&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27777&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27777&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27777&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27777&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27777&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27777&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27777&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27777&r=float
Thread (19 messages)
- mikx at mikx dot de
- dmitry@php.net#27777 [Opn]: basic authentication broken
- mikx at mikx dot de#27777 [Opn]: basic authentication broken
- sniper@php.net#27777 [Opn->Fbk]: basic authentication broken
- sniper@php.net#27777 [Fbk->NoF]: basic authentication broken
- technique at kaiman dot fr#27777 [Com]: basic authentication broken
- lobbin at localhost dot nu#27777 [Com]: basic authentication broken
- peter at adkins dot nl#27777 [Com]: basic authentication broken
- jgarcia at tdg-i dot com#27777 [Com]: basic authentication broken
- trippinbilly25 at gmail dot com#27777 [Com]: basic authentication broken
- Christian dot Reingruber at gmail dot com#27777 [Com]: basic authentication broken
- eric dot caron at gmail dot com#27777 [Com]: basic authentication broken
- phillybet6 at aol dot com#27777 [Com]: basic authentication broken
- oliver at teqneers dot deBug #27777 [Com]: basic authentication broken
- dewes at pop dot com dot brBug #27777 [Com]: basic authentication broken
- oliver at mojofuel dot comBug #27777 [Com]: basic authentication broken
- stephan dot schulze at kapthon dot comBug #27777 [Com]: basic authentication broken
- roeycohen at gmail dot comBug #27777 [Com]: basic authentication broken
- div at mail172 dot deBug #27777 [Com]: basic authentication broken