Fix of #369 (Trim of forwarding slash in path)

Fixed this issue