Uploaded image for project: 'Magnolia License'
  1. Magnolia License
  2. MGNLLIC-86

License key form generates non-https action URL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Neutral
    • None
    • None
    • None
    • Ubuntu

    Description

      Following happened today: customer support send us a new license key, but the key was faulty and entering it disabled pretty much all CMS features (including apparently all sites). The CMS then only show the license key dialog when you try to access Admincentral. However our setup enforces HTTPS everywhere and the action URL for the license form was generated as an HTTP Url, so i had to go in with the browser dev tools and make it an HTTPS URL to be able to successfully submit the form. Somebody could've easily got stuck here... Especially bad the production CMS just was disabled by a faulty license key... 

      Steps to reproduce

      1.  Put Magnolia behind a proxy which enforces HTTPS via redirect rules
      2.  Enter a license key which, although valid, is not the correct one for the CMS edition
      3. Try to enter the license information in the dialog

      Sorry, i have no screenshots...

      Expected results

      License should be accepted and CMS functionality be enabled

      Actual results

      You'll get stuck in an endless loop because the proxy (or even the browser) refuse to accept a non-HTTPS form post

      Workaround

      Edit the form with the dev tools and make the URL HTTPS

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                efochr Evzen Fochr
                martyglaubitz Marty Glaubitz
                AdminX
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Bug DoR
                    Task DoD