Microsoft Edge should not POST data when field name is empty

Fixed Issue #13475702


Matt B.
Aug 28, 2017
This issue is public.
Found in
  • Microsoft Edge
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Given the following HTML form:

<!DOCTYPE html>
    <form method="POST">
      <input type="text" name="" value="This field has an empty name attribute" />
      <input type="text" name="field_name" value="This field has an name attribute of field_name" />
      <button type="submit">Submit</button>

Microsoft Edge will submit this form as:

: This+field+has+an+empty+name+attribute
field_name: This+field+has+an+name+attribute+of+field_name

In certain enterprise applications, sending an empty named field causes application errors where parameter validation is more strictly enforced. Additionally, other browsers like Chrome have been tested and do not exhibit this behavior; these truncate the empty named field before sending, as observed in the Content-Length request header.

I attempted to report this via Microsoft Support chat who said they would pass it to the developer for resolution (Case No. 1396124230), but it was subsequently closed, marked as [Not Resolved/ADO/chennai/windows/DIA/win 10/edge/attribute displaying/with out entering the name]. Hoping to get a little more support here.


Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

  • Note: W3C Section 17.13.2 regarding the submission of “Successful controls” in HTML forms states:

    A successful control must be defined within a FORM element and must have a control name.


  • Microsoft Edge Team

    Changed Status to “Fixed”

  • Any timeline when we can expect this to be released?

You need to sign in to your Microsoft account to add a comment.

Sign in