Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-2341

JDBC username and password should be URL encoded when put into JDBC URL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.17
    • None
    • Registry API
    • None

    Description

      In several places in the code, JDBC usernames and passwords are put into JDBC URLs without properly encoding them for URLs. For example:

      https://github.com/apache/airavata/blob/43b3757d6c1b759a47603189e0ac0ad97339fd8b/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/util/ExperimentCatalogInitUtil.java#L68

      The ampersand character is an example of a character that needs to be encoded because it delimits URL query parameters.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marcuschristie Marcus Christie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: