Issues

ZF-11018: invalid request via proxy

Description

subj. I inserted test strings at Line:166 in file with class Zend_Http_Client_Adapter_Proxy:


echo '
'; echo $uri; echo '
'; echo "$uri"; echo '
'; echo $request; echo '
'; echo phpversion(); echo '
'; die('stop!');

On my good server I see:


http://www.google.com:80
http://www.google.com:80
GET http://www.google.com:80 HTTP/1.1
5.3.4
stop!

On my always error server:


http://www.google.com:80
Object id #5
GET Object id #5 HTTP/1.1
5.1.6
stop!

So to socket will be written string: "GET Object id #5 HTTP/1.1". This is a HTTP protocol error. Sorry, for my english.

Comments

Zend Framework does not support PHP 5.1.x - this is a PHP compatibility issue (object casting to string modified in PHP 5.2).

Please upgrade your "bad" server to a recent version of PHP 5.2.6 and up and preferably 5.3.x - 5.1 has been dead for a while now.