[jboss-jira] [JBoss JIRA] (JBADMCON-175) backslash not escaped when specifying a JDBC connection url

Johnathon Lee (JIRA) issues at jboss.org
Wed Oct 8 10:15:21 EDT 2014


Johnathon Lee created JBADMCON-175:
--------------------------------------

             Summary: backslash not escaped when specifying a JDBC connection url
                 Key: JBADMCON-175
                 URL: https://issues.jboss.org/browse/JBADMCON-175
             Project: JBoss Admin Console
          Issue Type: Feature Request
          Components: DataSource, General Console
            Reporter: Johnathon Lee


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

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



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list