Uploaded image for project: 'JBoss Admin Console'
  1. JBoss Admin Console
  2. JBADMCON-175

backslash not escaped when specifying a JDBC connection url

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Major
    • None
    • None
    • DataSource, General Console
    • None

    Description

      "\" is commonly used in connection URLs but not escaped via the console.

      Workaround: use the backslash to escape itself... not sure if this is the actual preference here.

      Start with a clean instance.

      http://localhost:9990/console/App.html#datasources
      disable ExampleDS
      Connection tab -> edit connection url.
      change from:
      jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;

      to:
      jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;PROP=thing\thing

      see the result:
      jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;PROP=thing hing

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-jolee Johnathon Lee
            Archiver:
            rhn-support-adandapa Aitik Dandapat

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty