For DB passwords comprising '&' replace it with '&'

This commit is contained in:
Dylan Rathbone
2020-04-09 14:44:16 +10:00
parent e539685148
commit 6ce93e0a32
3 changed files with 3 additions and 2 deletions

View File

@@ -17,6 +17,7 @@
<property name="hibernate.connection.url">{{ atl_jdbc_url }}</property>
<property name="hibernate.connection.username">{{ atl_jdbc_user }}</property>
<property name="hibernate.connection.password">{{ atl_jdbc_password }}</property>
<property name="hibernate.connection.password">{{ atl_jdbc_password | replace("&", "&amp;") }}</property>
<property name="hibernate.c3p0.min_size">{{ atl_db_poolminsize }}</property>
<property name="hibernate.c3p0.max_size">{{ atl_db_poolmaxsize }}</property>
<property name="hibernate.c3p0.timeout">{{ atl_db_timeout }}</property>