Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39220

No way to override/clear the force.url.secure property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.x, 2.8.x, 2.9.x
    • Fix Version/s: 2.9.x, 10.0
    • Component/s: Kernel
    • Labels:
    • Property addition/change required:
      Yes
    • CLE Team Issue:
      Yes
    • Previous Issue Keys:
      KNL-895

      Description

      I have an installation defined with the property force.url.secure=443 in sakai.properties

      I also have a local.properties and security.properties file for specific overrides.

      On a particular instance I want to disable the force secure setting as I am running http only.

      However there is no way to do that. If I set the value to a blank value (in local or security.properties, ie as an override) in an attempt to clear it, then it throws a NumberFormatException.

      So once the setting has a value it must always have a value, AND forces URLs to be https. The code should be adjusted so that a blank value negates any previous value that has been set.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aaronz Aaron Zeckoski (Inactive)
                  Reporter:
                  steve.swinsburg Steve Swinsburg
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code