preserve original querystring and fragment path parts #3589

#3589