Wrong http_url in OAuthRequest class if shindig is running on a port other than
80
----------------------------------------------------------------------------------
Key: SHINDIG-1385
URL: https://issues.apache.org/jira/browse/SHINDIG-1385
Project: Shindig
Issue Type: Bug
Components: PHP
Reporter: Bastian Hofmann
If Shindig is running on an other port than 80, the generated http_url in the
OAuthRequest class will be for example
http://shindigdomain:8181:8181
instead of http://shindigdomain:8181
The following patch fixes this:
Index: php/external/OAuth/OAuth.php
===================================================================
250c250
< '://' . $_SERVER['HTTP_HOST'] .
---
> '://' . $_SERVER['SERVER_NAME'] .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.