Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3485

Plesk: Use hostname as the API endpoint, fallback to IP if undefined

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.8.0
    • Fix Version/s: 4.8.1
    • Component/s: Modules
    • Labels:
      None

      Description

      We added a new hostname field for use with email templates but we still use the IP as the API endpoint. We need to use the hostname as the API endpoint, but should probably fall back to IP if the hostname is not defined. People upgrading from a version that did not contain the hostname would otherwise stop working.

      When using the IP address and Plesk is configured correctly, Plesk will do a 301 redirect to the hostname causing things not to work correctly.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Feb/20

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 11 minutes
              11m

                Agile