#10 https post method missing port

closed-fixed
Gene Wood
None
5
2005-10-30
2004-07-05
Anonymous
No

When request a url over https in a non-standar port the
header port missed port

here is the patch for 1.01 version:

** line 912 **

$headers[] = "Host: ".$this->host;

Change by:

$headers[] = "Host: ".$this->host.":".$this->port;

This work for me.

Hope this will be useful.

Discussion

  • Gene Wood
    Gene Wood
    2005-10-30

    • assigned_to: nobody --> gene_wood
    • status: open --> closed-fixed
     
  • Gene Wood
    Gene Wood
    2005-10-30

    Logged In: YES
    user_id=547273

    Thanks for metioning this. I've incorporated this into the
    build for both http and https as defined in the spec :

    http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.23

    It'll show up in the next release