Further improve AXR URL sanitization code.