Loading
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.
since back() has undefined behaviour on empty string we need to ensure that the string is not empty before to check the last char.