You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2022/01/26 11:53:17 UTC

[GitHub] [logging-log4j2] ppkarwasz opened a new pull request #729: Fixes a StringIndexOutOfBoundsException

ppkarwasz opened a new pull request #729:
URL: https://github.com/apache/logging-log4j2/pull/729


   `PropertiesUtilTest#partitionOnCommonPrefixes` fails if a property does not contain any dots.
   
   The bug appears when parsing a `log4j2.properties` like in [this StackOverflow question](https://stackoverflow.com/q/70851549/11748454).
   
   I modified the data used by `PropertiesUtilTest` to fail with a `StringIndexOutOfBoundsException`.


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

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [logging-log4j2] vy merged pull request #729: Fixes a StringIndexOutOfBoundsException

Posted by GitBox <gi...@apache.org>.
vy merged pull request #729:
URL: https://github.com/apache/logging-log4j2/pull/729


   


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

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [logging-log4j2] vy commented on pull request #729: Fixes a StringIndexOutOfBoundsException

Posted by GitBox <gi...@apache.org>.
vy commented on pull request #729:
URL: https://github.com/apache/logging-log4j2/pull/729#issuecomment-1023334369


   Thanks so much @ppkarwasz!


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

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [logging-log4j2] jvz commented on pull request #729: Fixes a StringIndexOutOfBoundsException

Posted by GitBox <gi...@apache.org>.
jvz commented on pull request #729:
URL: https://github.com/apache/logging-log4j2/pull/729#issuecomment-1024824326


   Noticed this is needed in master as well in order to support the new properties format features.


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

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org