Fix xhr object sanitize
Version 2.31.0
Merge branch 'release/v2.31.0' into develop