This week I came across a bug on a system. This system was developed in Asp Web Forms and on a given page has a input
that is as hidden
.
When I made a Post, I noticed that in Chrome and Firefox the value of this input
was not being sent in request and IE was sent.
When I looked at the code, I noticed something strange about this input
, the tag was not being closed, thus:
<input type="hidden" name="id" value="<% response.Write(vID) %>"
Notice that a >
is missing. In every browser I tested, IE, Chrome and Firefox, the generated HTML is different from the others.
Chrome:
Firefox:
IE: