bugfix: check empty string on has_trailing_slash
since back() has undefined behaviour on empty string we need to ensure that the string is not empty before to check the last char.
parent
729c4e29
Please register or sign in to comment
since back() has undefined behaviour on empty string we need to ensure that the string is not empty before to check the last char.