54 Commits (527e2e7c5baad40b652d0b0a9ed142b8772f6b8a)

Author SHA1 Message Date
leitner 527e2e7c5b add unit tests and man page for scan_ldapescape 7 years ago
leitner ac2df2bf20 bring scan_cescape up to speed 7 years ago
leitner 8526ae3d0d fix utf-8 json encoding for outside basic multilingual plane 7 years ago
leitner 84d3e6a7b4 fmt_jsonescape: convert utf-8 >ffff to \u escaped surrogate pair 7 years ago
leitner b9eb81c58f move unit tests into each file (compile with -DUNITTEST) 8 years ago
leitner 760598ec2f #include <foo.h> -> #include <libowfat/foo.h> 8 years ago
leitner dba47741bf remove new compiler warnings from gcc 7 8 years ago
leitner 660c314341 a few more test suites
escapecharc now supports non-ascii
8 years ago
leitner e89f098743 remove signedness warnings 8 years ago
leitner ce64436772 document scan_uuencoded 8 years ago
leitner 959151a24d add man page for scan_base64, handle partial blocks better 8 years ago
leitner 41db97d380 improve json escape decoder, add test suite 8 years ago
leitner 3c68ae0dcc scan_jsonescape ends when it sees an unescaped " 8 years ago
leitner c493b262ac handle \n etc 8 years ago
leitner 26a193bff0 - and _ are also safe characters 8 years ago
leitner d26b8082d8 shut up new gcc 6 warnings 9 years ago
leitner 7f829a36bc add base64url support 9 years ago
leitner fce165fdcb remove dead store 10 years ago
leitner 8bdf66a1f5 add scan_html_tagarg 10 years ago
leitner 1d723c8da4 scan_html forgot to output '<' when it did not know the tag coming in 10 years ago
leitner 0aa50a19a4 add fmt_html_tagarg, fmt_xml 10 years ago
leitner 35942878c2 $ make WERROR=-Werror now builds with -Werror
add some single char escaping routines to fmt.h
pull in html5 entities from w3c and use those to do a proper scan_html decoding
fix an off-by-one in fmt_to_array
add a ton of unit tests for the fmt routines
11 years ago
leitner fb5bd841a8 | not + 11 years ago
leitner 1d2add208f add json encoding routines to textcode 11 years ago
leitner f28b0ee6b2 add fmt_ldapescape2 18 years ago
leitner e0a6a1cb84 try to catch malicious input in textcode fmt_* functions 18 years ago
leitner 1b17f47def escape more in fmt_ldapescape 18 years ago
leitner 3004b518ef switch to size_t and ssize_t 18 years ago
leitner d361d81c64 make socket_(tc|ud)p[46] actually return non-blocking sockets as
documented (Richard Lyons)
19 years ago
leitner 0a47d9ea13 fix scan_to_sa (Tim Lorenz) 20 years ago
leitner 828aa295f1 optimize fmt_base64 (Dan Gundlach) 20 years ago
leitner 60f3320ae0 allow specifying more characters to encode for subset encoders (for
example, you can say that fmt_quotedprintable should also escape ':', if
you want to use ':' as separator in a data file.
20 years ago
leitner f7809e36df scan_urlencoded2 is like scan_urlencoded, but it will not decode '+' in urls 20 years ago
leitner f52aa87441 more alloca fixes 21 years ago
leitner 60d00ede11 remove some warnings 21 years ago
leitner 3279ca84f8 don't use black list for urlencoding, use white list. 21 years ago
leitner c901631a00 embarassing cut&paste error 21 years ago
leitner 056760c5f1 add cescape stuff and two tests 21 years ago
leitner a8f6a1c121 remove special case stralloc textcode functions
write generic stralloc and array textcode wrapper functions
change textcode API to use long instead of int
add cescape fmt and scan functions to textcode
add fmt_foldwhitespace to textcode
21 years ago
leitner 93e07c1174 add + to unsafe characters in fmt_urlencoded 21 years ago
leitner 0546ea048c add html encoders
add vd (mldonkey support program) as test for socket API
22 years ago
leitner 71deab2eec remove warnings 22 years ago
leitner b4f14ed6f7 add stralloc versions of textcode (Kai Ruemmler) 22 years ago
leitner bdd15d2344 missing else 23 years ago
leitner e4832a2d23 scan_urlencoded should convert '+' to ' ' 23 years ago
leitner c536d87493 make fmt_hexdump use lowercase letters 23 years ago
leitner 58334b0ea2 new hexdump fmt and scan routines for textcode 23 years ago
leitner e0437a77ff add yenc 23 years ago
leitner f688af068b add url encoding 23 years ago
leitner 5a9a7e6f1a quoted unprintable 23 years ago