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

Harald Pehl (JIRA) issues at jboss.org
Wed Oct 8 10:27:11 EDT 2014


    [ https://issues.jboss.org/browse/JBADMCON-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009889#comment-13009889 ] 

Harald Pehl commented on JBADMCON-175:
--------------------------------------

Which version of the console does this refer to?

> 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.
> 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



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


More information about the jboss-jira mailing list