Correct system property replacement code so properties of the form ${...}${...} can be used without error.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1130625 13f79535-47bb-0310-9956-
ffa450edef68
String result = str;
int pos_start = result.indexOf("${");
if (pos_start != -1) {
- int pos_end = result.indexOf('}');
+ int pos_end = result.indexOf('}', pos_start);
if (pos_end != -1) {
String propName = result.substring(pos_start + 2, pos_end);
String replacement = System.getProperty(propName);
response. Patch provided by Paco SoberĂ³n. (markt)
</fix>
<fix>
+ <bug>51249</bug>: Correct ClassLoaderLogManager system property
+ replacement code so properties of the form ${...}${...} can be used
+ without error. (markt)
+ </fix>
+ <fix>
<bug>51274</bug>: Add missing i18n strings in PersistentManagerBase.
Patch provided by Eiji Takahashi. (markt)
</fix>