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

        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #21 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]
        tyson Tyson Phillips (Inactive) made changes -
        Issue Type Improvement [ 4 ] Bug [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 4.9.0 Sprint 3 [ 101 ]
        jonathan Jonathan Reissmueller made changes -
        Story Points 1
        Automated transition triggered when Jonathan Reissmueller created pull request #20 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 11 minutes [ 660 ]
        Worklog Id 13143 [ 13143 ]
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        admin Paul Phillips created 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