Uploaded image for project: 'CloverDX'
  1. CloverDX
  2. CLO-17597

Do not resolve config properties placeholders against environment variables by default

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • rel-5-5-0
    • Server
    • Security Level: Users (General product issues)
    • 5
    • JUnit test
    • CloverConfigurationTest.java
    • Green Sprint 99, Green Sprint 100

    Description

      We have introduced automatic resolving of environment variables in case of using placeholder ${...} as a value of configuration property. This causes issues after upgrade especially in case of LDAP and server on Windows - Windows do have "username" env variable by default. In such case, username is resolved and breaks configuration of LDAP.

      Placeholders should resolve only against other configuration properties values and environment variables with prefix "clover_".

      If user wants to resolve environment variables, he/she has to use placeholder with "env:" prefix (eg. ${env:username} ).

      For backward compatibility resolving of placeholders should properly process older style of escaping with double brackets ( $ username )

      Attachments

        Issue Links

          Activity

            People

              michalicaj Jano Michalica (Inactive)
              sedlacekj Jan Sedlacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: