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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-RC2
    • PHP
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: