I do not agree with it. It's clearly here I only want to check whether the last char of the url path is '/', rather than '\'