Don't rewrite path-relative urls. Still rewrite host-relative urls.
Merge branch 'ari-3985' into ait-qa