make the url comparison in PageSite.newpage disregard trailing slashes