when pattern is /admin while the url is /admin/ should return 200. fix #416