aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update ChangeLogTatsuya Kinoshita2017-08-271-0/+32
|
* Merge pull request #93 from mackyle/masterTatsuya Kinoshita2017-08-272-4/+3
|\ | | | | correct <base ...> parsing and do not turn a form's GET into POST
| * 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>
| * file.c: compute correct base URL when not absoluteKyle J. McKay2017-08-231-1/+1
|/ | | | | | | | | | | | | | | | When a server makes use of the PATH_INFO feature in a CGI, the returned pages may often have a <base href="..." /> tag specifying the URL of the CGI itself as the base. However, to avoid hard-coding the scheme and host into such a base href, the href value will often omit the scheme, host and port. Make sure that when parsing any such base href value that any omitted components are taken from the current URL rather than taken as being from a bare, absolute file:/// URL. Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
* Update ChangeLogv0.5.3+git20170102Tatsuya Kinoshita2017-01-021-0/+4
|
* Update NEWSTatsuya Kinoshita2017-01-021-1/+1
|
* Update ChangeLogTatsuya Kinoshita2017-01-021-1/+4
|
* Update ChangeLogTatsuya Kinoshita2016-12-241-0/+20
|
* Prevent overflow beyond the end of string in wtf_parse1()Tatsuya Kinoshita2016-12-241-12/+32
| | | | Bug-Debian: https://github.com/tats/w3m/issues/68
* Revert "Prevent overflow beyond the end of string in wtf_parse1()"Tatsuya Kinoshita2016-12-241-24/+18
| | | | | | This reverts commit 998b6f91d4b02e8bf90b7744dfabc8cccdf9d4f9. Bug-Debian: https://github.com/tats/w3m/issues/86 cf. http://emacs-w3m.namazu.org/ml/msg12505.html
* 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
* Update ChangeLogTatsuya Kinoshita2016-12-201-0/+6
|
* Revert "Preserve one byte for end of string character in form_update_line()"Tatsuya Kinoshita2016-12-201-1/+1
| | | | This reverts commit a4152aaaea5cb51c9018880a1295e498c38889bf.
* Update ChangeLogTatsuya Kinoshita2016-12-171-0/+2
|
* Update ChangeLogTatsuya Kinoshita2016-12-171-0/+16
|
* Prevent heap-use-after-free read in HTMLlineproc0()Tatsuya Kinoshita2016-12-171-1/+1
| | | | Bug-Debian: https://github.com/tats/w3m/issues/81
* Prevent infinite loop in feed_textarea()Tatsuya Kinoshita2016-12-171-1/+3
| | | | Bug-Debian: https://github.com/tats/w3m/issues/85
* 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.
* Update ChangeLogTatsuya Kinoshita2016-12-151-0/+45
|
* Prevent overflow beyond the end of string for wtf to wcs macrosTatsuya Kinoshita2016-12-151-2/+4
| | | | Bug-Debian: https://github.com/tats/w3m/issues/77
* Revert "Prevent overflow beyond the end of string for wtf to wcs macros"Tatsuya Kinoshita2016-12-151-4/+2
| | | | This reverts commit b4d27ba5ccffaa38e968c2bf3a8eeb9cd43928ff.
* Prevent overflow beyond the end of string in caller of get_mclen()Tatsuya Kinoshita2016-12-153-6/+10
| | | | | | | | | | | Bug-Debian: https://github.com/tats/w3m/issues/59 Bug-Debian: https://github.com/tats/w3m/issues/73 Bug-Debian: https://github.com/tats/w3m/issues/74 Bug-Debian: https://github.com/tats/w3m/issues/76 Bug-Debian: https://github.com/tats/w3m/issues/79 Bug-Debian: https://github.com/tats/w3m/issues/80 Bug-Debian: https://github.com/tats/w3m/issues/83 Bug-Debian: https://github.com/tats/w3m/issues/84
* Revert "Prevent overflow beyond the end of string in proc_mchar()"Tatsuya Kinoshita2016-12-151-6/+1
| | | | This reverts commit 512ed467d12615f5ef40d0d28272e5662d8438ea.
* Revert "Prevent overflow beyond the end of string in visible_length()"Tatsuya Kinoshita2016-12-151-2/+1
| | | | This reverts commit a932f78a6d8c105036ffeedf01215c1f6a0e0b71.
* Revert "Prevent overflow beyond the end of string in skip_space()"Tatsuya Kinoshita2016-12-151-3/+1
| | | | This reverts commit e757b43bcf8c439c167f62b6d3317ee9518cabbf.
* Revert "Prevent overflow beyond the end of string in visible_length_plain()"Tatsuya Kinoshita2016-12-151-2/+1
| | | | This reverts commit f763b8ebf5441cb44d2c0234565fadd5eb1c87a5.
* Revert "Prevent overflow beyond the end of string in textfieldrep()"Tatsuya Kinoshita2016-12-151-2/+0
| | | | This reverts commit 77d8d8d6576d8afc0f6b2e09bb88c7ca9dba58bb.
* Revert "Prevent overflow beyond the end of string in proc_mchar()"Tatsuya Kinoshita2016-12-151-6/+5
| | | | This reverts commit e79d0ec2a00369a6af24007a1f2bb5e876e2c847.
* Update ChangeLogTatsuya Kinoshita2016-12-131-0/+14
|
* Prevent overflow beyond the end of string in proc_mchar()Tatsuya Kinoshita2016-12-131-5/+6
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/80 cf. https://github.com/tats/w3m/issues/59
* 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
* Update ChangeLogTatsuya Kinoshita2016-12-101-0/+27
|
* Prevent overflow beyond the end of string in wtf_len()Tatsuya Kinoshita2016-12-101-1/+2
| | | | cf. https://github.com/tats/w3m/issues/57
* Prevent negative array index for realColumn in calcPosition()Tatsuya Kinoshita2016-12-101-1/+1
| | | | Bug-Debian: https://github.com/tats/w3m/issues/69
* Prevent overflow beyond the end of string in wtf_parse1()Tatsuya Kinoshita2016-12-101-18/+24
| | | | Bug-Debian: https://github.com/tats/w3m/issues/68
* Prevent heap-buffer-overflow in Strnew_size()Tatsuya Kinoshita2016-12-101-0/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/72
* Prevent overflow beyond the end of string in visible_length_plain()Tatsuya Kinoshita2016-12-101-1/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/76
* Prevent overflow beyond the end of string for wtf to wcs macrosTatsuya Kinoshita2016-12-101-2/+4
| | | | Bug-Debian: https://github.com/tats/w3m/issues/77
* 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
* Update ChangeLogTatsuya Kinoshita2016-12-081-0/+21
|
* 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 overflow beyond the end of string in skip_space()Tatsuya Kinoshita2016-12-081-1/+3
| | | | Bug-Debian: https://github.com/tats/w3m/issues/74
* Prevent overflow beyond the end of string in visible_length()Tatsuya Kinoshita2016-12-081-1/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/73
* Prevent overflow beyond the end of string in wtf_strwidth()Tatsuya Kinoshita2016-12-071-1/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/57
* Revert "Prevent overflow beyond the end of string in wtf_strwidth()"Tatsuya Kinoshita2016-12-071-5/+1
| | | | This reverts commit d345c0950dfdef065b7377ecad0e4bc1d2601bf8.
* Update ChangeLogTatsuya Kinoshita2016-12-071-0/+15
|
* Prevent heap-use-after-free in HTMLlineproc0()Tatsuya Kinoshita2016-12-071-1/+2
| | | | Bug-Debian: https://github.com/tats/w3m/issues/65