[
https://issues.apache.org/jira/browse/TOMEE-2968?focusedWorklogId=556342&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556342
]
ASF GitHub Bot logged work on TOMEE-2968:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Feb/21 14:15
Start Date: 23/Feb/21 14:15
Worklog Time Spent: 10m
Work Description: rzo1 commented on pull request #763:
URL: https://github.com/apache/tomee/pull/763#issuecomment-784232901
> @rzo1 so maybe add a test mixing both with `${foo}}`, `$${{foo}}`,
`${${bar}}`, `${$${bar}}` and so on, this is what this PR can wrongly handle
(ie both at the same time and nested case).
Thanks - I added some more tests mixing different cases / types of
placeholders including the escape mechanism such as `$$` to skip placeholder
substitution.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 556342)
Time Spent: 1h 20m (was: 1h 10m)
> Postgres connection error when a password contains "}"
> ------------------------------------------------------
>
> Key: TOMEE-2968
> URL: https://issues.apache.org/jira/browse/TOMEE-2968
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Core Server
> Affects Versions: 7.0.5, 8.0.0-Final, 7.1.4, 8.0.6
> Environment: Windows 10
> Reporter: Alex Levin
> Assignee: Richard Zowalla
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> If a password contains the "}" character (closing curly brace), the database
> connection cannot be established.
> My resources.xml:
> <Resource id="Postgres Databse" type="javax.sql.DataSource">
> jdbcDriver org.postgresql.Driver
> jdbcUrl jdbc:postgresql://localhost:5432/postgresdb
> username scott
> password tiger...}
> maxActive = 250
> </Resource>
> Error message in the log:
> 2021-02-02 15:55:45 WARN [main] SqlExceptionHelper:144 - SQL Error: 0,
> SQLState: 28P01
> 2021-02-02 15:55:45 ERROR [main] SqlExceptionHelper:146 - FATAL: password
> authentication failed for user "scott"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)