Cannot add recovery phone number through browser due to invalid header key

Cannot add recovery phone number through browser due to invalid header key

I am unable to add a recovery phone number to my Zoho account because of an invalid header key set by the web application's JavaScript. In zohoaccounts.js, there is the following (pretty-printed) function:
  1. function getPlainResponse(action, params) {
  2.     0 === params.indexOf("&") && (params = params.substring(1));
  3.     var objHTTP;
  4.     return objHTTP = xhr(),
  5.     objHTTP.open("POST", action, !1),
  6.     objHTTP.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;charset=UTF-8"),
  7.     isEmpty(params) && (params = "__d=e"),
  8.     objHTTP.setRequestHeader("Content-length", params.length),
  9.     objHTTP.send(params),
  10.     objHTTP.responseText
  11. }
On line 8 of this snippet, the content length header key is set as "Content-length", which is rejected by modern browsers. The header key should be "Content-Length".