Handles trailing slashes now