Adapt gh-31045 fix to the main branch, and throw a WebExchangeBindException instead of a ServerWebInputException.