Fixes #4497: Bad Request, Unable to verify your data submission

Fixed `StringHelper::byteSubstr()` returning empty string on null `$length` param
This looks weird to me, at least mb_strlen should have encoding parameter `8bit`.