Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-227

Activation does not work when author uses https

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 2.0 Final
    • core
    • None
    • The author instance (running on port 8081) is accessed via HTTPS, Apache, mod_jk.
      The public instance (running on port 8082) is accessed via HTTP, Apache, mod_jk.

    Description

      Activation does not work because

      • in info.magnolia.cms.servlets.SimpleExchange.getProtocolName() the protocol to access the author instance is determined using the activation request (instead of how to access the author instance
      • the port to access the author instance is determined using the request-header remote-port.

      Please send the protocol to access the author instance as request-header (like you do with the remote-port)
      for example:

      In info.magnolia.cms.exchange.simple.Syndicator.addActivationHeaders():

      String remoteProtocol = this.request.isSecure()?"HTTPS":"HTTP";
      connection.addRequestProperty("remote-protocol",remoteProtocol);

      In info.magnolia.cms.servlets.SimpleExchange.doGet():
      this.protocol = this.request.getHeader("remote-protocol");

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              scharles Sameer Charles
              ralf Ralf Hirning
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD