bug report #955214 by alex_b,jcfiala:Fixed problem where a url with a querystring caused fatal errors.