Allow optional trailing slash