Issue Bug Closed

#40767Warnings in StringUtility

Christian Kuhn 09/08/12, 22:48 updated 10/23/17, 22:12

Description

StringUtility::isLastPartOfString does not sanitize the input arguments
enough and throws warnings if calling strlen() for example with arrays.
The patch changes the (new 6.0) method to sanitize the arguments and now
throws Exceptions if they can not be interpreted as string.
The tests are adapted to test for the exception and adds a test with
an object to the data provider.

Reviews 1