aboutsummaryrefslogtreecommitdiff
path: root/dpi/ftp.c
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2015-05-26 11:29:21 -0300
committerJorge Arellano Cid <jcid@dillo.org>2015-05-26 11:29:21 -0300
commit24cff71d47c8b5cd15129a53295a4a27b93f89c0 (patch)
tree0771368441464f748ebf2f72f7f3090040c4c884 /dpi/ftp.c
parent37948ff867620850b921429c9b36886f40ce3843 (diff)
Fix view-source dpi to handle null characters correctly
Although not allowed in text contexts, null characters should not stop/halt/fail dpi protocol, thus the patch. Test Example. Display a file with these contents: null padding^@^@ (two trailing null characters) and view source for it. Note that dillo will not _display_ the file completely correct, it will eat a char after each null, but this is not a problem in dpi nor dpip but in rendering, the cache gets it right. Adding code to correctly _display_ these anomalous pages is probably not worth the effort though.
Diffstat (limited to 'dpi/ftp.c')
0 files changed, 0 insertions, 0 deletions