Fixed to handle missing trailing slash in base option, added tests, bumped rev