added StripURLQuery flag