2024-03-19 07:29 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002595NetSurf[All Projects] Generalpublic2022-04-14 14:27
Reporterfkooman 
Assigned ToVincent Sanders 
SeveritymajorReproducibilityalways 
StatusclosedResolutionfixed 
PlatformlinuxOSfedoraOS Version27
Product Version2.0 
Target VersionFixed in Version3.9 
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 #4560
Reported in CI build #
URL of problem pagehttps://helium.tuxed.net/fkooman/netsurf-form-button-submit/
Attached Files

-Relationships
+Relationships

-Notes
jelina den

~0001855

jelina den (reporter)

http://bestblackfridaysales2018.com/
http://bestblackfridaysales2018.com/walmart-black-friday-sales-2018/
Jonathon Coleman

~0001870

Jonathon Coleman (reporter)

https://www.concretecontractorsfayettevillear.com
Vincent Sanders

~0001893

Vincent Sanders (administrator)

our processing of the button type attribute was incorrect according to
https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-type

fixed, thanks for the report
Vincent Sanders

~0002018

Vincent Sanders (administrator)

we believe this issue has been resolved in NetSurf 3.9
+Notes

-Issue History
Date Modified Username Field Change
2018-04-30 07:56 fkooman New Issue
2018-07-20 15:11 Michael Drake Status new => acknowledged
2018-11-02 19:36 jelina den Note Added: 0001855
2018-12-20 12:21 Jonathon Coleman Note Added: 0001870
2019-02-22 21:17 Vincent Sanders Assigned To => Vincent Sanders
2019-02-22 21:17 Vincent Sanders Severity minor => major
2019-02-22 21:17 Vincent Sanders Status acknowledged => resolved
2019-02-22 21:17 Vincent Sanders Resolution open => fixed
2019-02-22 21:17 Vincent Sanders Product Version => 2.0
2019-02-22 21:17 Vincent Sanders Fixed in Version => 3.9
2019-02-22 21:17 Vincent Sanders Fixed in CI build # => 4560
2019-02-22 21:17 Vincent Sanders Note Added: 0001893
2019-07-19 08:32 Vincent Sanders Status resolved => closed
2019-07-19 08:32 Vincent Sanders Note Added: 0002018
2020-02-21 15:52 Horea Kaii Tag Attached: https://scott-keever-seo.business.site/
2020-02-21 15:52 Horea Kaii Tag Detached: https://scott-keever-seo.business.site/
2021-08-10 09:09 Jenny Tag Attached: HTMLUnknownElement
2021-08-10 09:09 Jenny Tag Attached: https://www.gulfcoastwebsitedesign.com/blog/responsive-vs-adaptive-website-design
2021-08-10 09:09 Jenny Tag Detached: HTMLUnknownElement
2021-08-10 09:09 Jenny Tag Detached: https://www.gulfcoastwebsitedesign.com/blog/responsive-vs-adaptive-website-design
+Issue History