Thrift-1393: TTransportException's thrown from THttpClient contain superfluous slashe...
authorJake Farrell <jfarrell@apache.org>
Tue, 18 Oct 2011 15:31:17 +0000 (15:31 +0000)
committerJake Farrell <jfarrell@apache.org>
Tue, 18 Oct 2011 15:31:17 +0000 (15:31 +0000)
commit711c70c786abf91dc784a002edc4bdab468f3d8e
tree426e38a2810d6b9f00bc6ffaa7b44bbc3fe0ad27
parent7ae13e10f7cb0e0c6107cb849d33b9a46b299840
Thrift-1393: TTransportException's thrown from THttpClient contain superfluous slashes in the Exception message
Client : php
Patch: Nick Jones

The THttpClient class ensures the $uri_ property has a slash prefixed by appending one if needed in the constructor. However in THttpClient::read, there are 2 exceptions thrown where a slash is concatenated between the port and uri. This results in a superfluous slash in the TTransportException message.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1185723 13f79535-47bb-0310-9956-ffa450edef68
lib/php/src/transport/THttpClient.php