Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The following tests call BaseURL.setSecure(true) in order to verify that BaseURL.toString() will generate a string representation of a URL that uses the HTTPS protocol:

      • V2URLTests_BaseURL_ApiRenderActurl_setSecure2
      • V2URLTests_BaseURL_ApiRenderRenurl_setSecure2
      • V2URLTests_BaseURL_ApiRenderResurl_setSecure2

      In order to make this work in Liferay, the following must take place:
      1. The $LIFERAY_HOME/tomcat/lib/server.xml descriptor must be configured to listen on port 8443.

      2. The following property must be added to $LIFERAY_HOME/portal-ext.properties

      web.server.https.port=8443

      3. The data-senna-off attribute will need to be added to TCK forms and/or anchor links in order to prevent SennaJS from submitting forms by XHR, bypassing URLs found in form action attributes. This may require opening PLUTO issues and modifying the TCK. An alternative to this would be to disable SennaJS for the V2URLTests portlet by adding the following to the WEB-INF/liferay-portal.xml descriptor:

      <single-page-application>false</single-page-application>
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 38 weeks, 6 days ago

                Packages

                Version Package