You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2010/08/09 14:05:26 UTC
svn commit: r983603 - /shindig/trunk/php/external/OAuth/OAuth.php
Author: lindner
Date: Mon Aug 9 12:05:26 2010
New Revision: 983603
URL: http://svn.apache.org/viewvc?rev=983603&view=rev
Log:
SHINDIG-1385 | Patch from Bastian Hofmann | Wrong http_url in OAuthRequest class if shindig is running on a port other than 80
Modified:
shindig/trunk/php/external/OAuth/OAuth.php
Modified: shindig/trunk/php/external/OAuth/OAuth.php
URL: http://svn.apache.org/viewvc/shindig/trunk/php/external/OAuth/OAuth.php?rev=983603&r1=983602&r2=983603&view=diff
==============================================================================
--- shindig/trunk/php/external/OAuth/OAuth.php (original)
+++ shindig/trunk/php/external/OAuth/OAuth.php Mon Aug 9 12:05:26 2010
@@ -247,7 +247,7 @@ class OAuthRequest {
? 'http'
: 'https';
@$http_url or $http_url = $scheme .
- '://' . $_SERVER['HTTP_HOST'] .
+ '://' . $_SERVER['SERVER_NAME'] .
':' .
$_SERVER['SERVER_PORT'] .
$_SERVER['REQUEST_URI'];