When redirecting to /xfer, make sure the PATH_INFO actually exists.
Update the cgi_replace_parameter() routine to make sure the parameter
being replaced already exists.