aboutsummaryrefslogtreecommitdiffstats
path: root/form.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* form.c: do not gratuitously turn GET into POSTKyle J. McKay2017-08-231-3/+2
| | | | | | | | | | | | | | | | | | | When encountering a <form ...> tag that contains these values: method="get" enctype="multipart/form-data" Do not transform the method into POST to accomodate enctype. Instead behave in the compatible way that all other browsers behave in this instance and ignore the enctype parameter (treating it as the default application/x-www-form-urlencoded) and perform a "GET" just as the method parameter requests. This behavior produces far more compatible results than gratuitously changing the "get" into a "post" which can result in unexpected "405 Method Not Allowed" errors. Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
* Preserve one byte for end of string character in form_update_line()Tatsuya Kinoshita2016-12-241-1/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/68#issuecomment-266214643
* Prevent invalid form_update_line() call in formUpdateBuffer()Tatsuya Kinoshita2016-12-241-1/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/82
* Revert "Preserve one byte for end of string character in form_update_line()"Tatsuya Kinoshita2016-12-201-1/+1
| | | | This reverts commit a4152aaaea5cb51c9018880a1295e498c38889bf.
* Revert "Prevent overflow beyond the end of string in form_update_line()"Tatsuya Kinoshita2016-12-171-8/+6
| | | | This reverts commit 9ccaa1dd0dac6f9b35a649ae9901c225421500f6.
* Revert "Prevent overflow beyond the end of string in form_update_line()"Tatsuya Kinoshita2016-12-171-1/+1
| | | | This reverts commit e0efc127ff20cbeb931847af1c9b353056340fbd.
* Revert "Prevent overflow beyond the end of string in textfieldrep()"Tatsuya Kinoshita2016-12-151-2/+0
| | | | This reverts commit 77d8d8d6576d8afc0f6b2e09bb88c7ca9dba58bb.
* Prevent overflow beyond the end of string in textfieldrep()Tatsuya Kinoshita2016-12-131-0/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/79
* Preserve one byte for end of string character in form_update_line()Tatsuya Kinoshita2016-12-131-1/+1
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/82 cf. https://github.com/tats/w3m/issues/68#issuecomment-266214643
* Prevent overflow beyond the end of string in form_update_line()Tatsuya Kinoshita2016-12-101-1/+1
| | | | Bug-Debian: https://github.com/tats/w3m/issues/78
* Prevent overflow beyond the end of string in form_update_line()Tatsuya Kinoshita2016-12-081-6/+8
| | | | Bug-Debian: https://github.com/tats/w3m/issues/75
* Prevent dereference near-null pointer in formUpdateBufferTatsuya Kinoshita2016-11-071-1/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/35
* Fix incorrect dereference in formUpdateBuffer when MENU_SELECTTatsuya Kinoshita2016-10-081-0/+2
| | | | cf. https://github.com/tats/w3m/commit/ec9eb22e008a69ea9dc21fdca4b9b836679965ee
* Prevent global-buffer-overflow write in formUpdateBufferTatsuya Kinoshita2016-10-071-1/+3
| | | | Bug-Debian: https://github.com/tats/w3m/issues/29
* Fix null pointer dereference in formUpdateBufferTatsuya Kinoshita2016-10-071-0/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/28
* Prevent segfault for formUpdateBufferTatsuya Kinoshita2016-08-291-2/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/13#issuecomment-242981906
* Prevent segfault for formUpdateBufferTatsuya Kinoshita2016-08-241-0/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/22
* Prevent segfault for formUpdateBufferTatsuya Kinoshita2016-08-171-1/+1
| | | | Bug-Debian: https://github.com/tats/w3m/issues/13
* Prevent negative array index for selectnumber and textareanumberTatsuya Kinoshita2016-08-171-2/+6
| | | | Bug-Debian: https://github.com/tats/w3m/issues/12
* Prevent segfault for formUpdateBufferTatsuya Kinoshita2016-08-151-0/+2
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/9 Bug-Debian: https://github.com/tats/w3m/issues/10
* Merge branch 'feature/siteconf'Tatsuya Kinoshita2013-04-081-17/+12
|\
| * Support the siteconf featureTatsuya Kinoshita2013-04-081-17/+12
| | | | | | | | | | Patch to support the siteconf feature, from [w3m-dev 04463] on 2012-06-27, provided by AIDA Shinra.
* | Assume "text" if an input type is unknownTatsuya Kinoshita2012-05-191-1/+1
|/ | | | Patch from <http://bugs.debian.org/615843> provided by Hilko Bengen.
* Adding upstream version 0.5.3upstream/0.5.3Tatsuya Kinoshita2011-05-041-1/+2
|
* Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita2011-05-041-0/+1055