fixed dryrun pathname+querystring ? issue