Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1385

Wrong http_url in OAuthRequest class if shindig is running on a port other than 80

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-RC2
    • Component/s: PHP
    • Labels:
      None

      Description

      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'] .

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bhofmann Bastian Hofmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: