Don't allows an end slash
Merge pull request #215 from sbrunner/end-slash

Don't allows an end slash