When the path is not ending with a slash and the form/link has only ?get=params then the last bit of the path was incorrectly stripped