2018-07-17 06:52 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002595NetSurf[All Projects] Generalpublic2018-04-30 08:56
Reporterfkooman 
Assigned To 
SeverityminorReproducibilityalways 
StatusnewResolutionopen 
PlatformlinuxOSfedoraOS Version27
Product Version 
Target VersionFixed in Version 
Summary0002595: form submit with <button> does not send its name/value in form POST
DescriptionThis works:

<form method="post">
    <input type="submit" name="button" value="Button">
</form>

This does not:

<form method="post">
    <button name="button" value="Button">Button</button>
</form>

According to HTML 4 (as far as I understand it) requires also <button> to send its name/value on form submit: https://www.w3.org/TR/html401/interact/forms.html#h-17.5

See "URL of problem page" for a link to an example.
Steps To Reproduce- create a HTML form with button
- submit it
- name/value not available as "POST parameters" on server
Additional InformationNetSurf 3.8 (Dev) compiled on 2018-04-29
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
URL of problem pagehttps://helium.tuxed.net/fkooman/netsurf-form-button-submit/
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2018-04-30 08:56 fkooman New Issue
+Issue History