Item13069: fixing client-side url rewrite