Commit Graph

64 Commits (6ebd2897884547bf86c734f981c7247fde28be82)

Author SHA1 Message Date
Glenn Strauss 6ebd289788 [core] inline some buffer.[ch] routines 4 years ago
Glenn Strauss 83cdf28610 [core] check for continuation in server.tag 4 years ago
Glenn Strauss 1593190651 [core] buffer_append_string_encoded() uc hex 4 years ago
Glenn Strauss 3d880810d1 [core] buffer_append_uint_hex_lc() uses lc hex 4 years ago
Glenn Strauss d3cf141d14 [core] li_tohex_lc() explicitly uses lc hex chars 4 years ago
Glenn Strauss 9eda625d67 [core] more efficient hex2int() 4 years ago
Glenn Strauss 936db51f05 [core] buffer_append_string_encoded_hex_lc() 4 years ago
Glenn Strauss 04d76e7afd [core] some header cleanup 5 years ago
Glenn Strauss dadfb5fcf5 [core] attempt to quiet coverity false positives 5 years ago
Glenn Strauss 9bc61f16cb [core] attempt to quiet coverity false positives 5 years ago
Glenn Strauss 05c34ce464 [core] buffer_substr_replace() 6 years ago
Glenn Strauss ac143ead29 [core] inline simple buffer is empty checks 6 years ago
Glenn Strauss a53f662a30 [core] remove some unused header includes 6 years ago
Glenn Strauss a22c126323 [core] remove now-unused buffer_search_string_len 6 years ago
Glenn Strauss 81ce160d83 silence warnings from clang ccc-analyzer 6 years ago
Glenn Strauss 5863d05ec1 [security] encode quoting chars in HTML and XML 6 years ago
Glenn Strauss 375022a1d1 fix buffer.c comments to match encoded_chars_* 6 years ago
Glenn Strauss ebf3af8b12 [core] fix buffer_copy_string_hex() assert (fixes #2742) 6 years ago
Glenn Strauss acad2c903a fix some warnings reported by cppcheck 6 years ago
Glenn Strauss 72b133f595 fix errors detected by Coverity Scan 6 years ago
Glenn Strauss 47f3dbebe4 use li_[iu]tostrn() instead of li_[iu]tostr() 7 years ago
Glenn Strauss e5006d88eb pass buf size to li_tohex() 7 years ago
Stefan Bühler 0a61fdecac [buffer] refactor buffer_path_simplify (fixes #2560) 7 years ago
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073) 7 years ago
Stefan Bühler 2abdf0143b [buffer] use explicit integer promotion to make the code more readable 7 years ago
Stefan Bühler 3943de280e [core] add '~' to safe characters in ENCODING_REL_URI/ENCODING_REL_URI_PART encoding 7 years ago
Stefan Bühler 427120b41a escape all strings for logging (fixes #2646 log file injection, reported by Jaanus Kääp) 7 years ago
Stefan Bühler 66ad587f2f [buffer] constify some parameters 8 years ago
Stefan Bühler 91a9a6b391 rename buffer_append_long_hex to buffer_append_uint_hex 8 years ago
Stefan Bühler ad3e93ea96 Use buffer API to read and modify "used" member 8 years ago
Stefan Bühler 4365bdbebe Remove buffer_prepare_copy() and buffer_prepare_append() 8 years ago
Stefan Bühler 1be163b44a Remove chunkqueue_get_{append,prepend}* API 8 years ago
Stefan Bühler 6afad87d2e fix buffer, chunk and http_chunk API 8 years ago
Stefan Bühler 3521be8b85 print backtrace in assert logging with libunwind 8 years ago
Stefan Bühler 07dd0bd0a5 add force_assert() to enforce assertions as simple assert()s are disabled by -DNDEBUG (fixes #2546) 9 years ago
Stefan Bühler bf10267807 [buffer] fix length check in buffer_is_equal_right_len 9 years ago
Stefan Bühler 05858f6cf2 [ssl] Fix $HTTP["scheme"] conditional, could be "http" for ssl connections if the ssl $SERVER["socket"] conditional was nested (fixes #2501) 9 years ago
Stefan Bühler a0e93c678b fix undefined stuff found with clang 10 years ago
Cyril Brulebois f4ba2d4f24 Mark some data as static. 10 years ago
Stefan Bühler e697869e34 buffer_caseless_compare: always convert letters to lowercase to get transitive results, fixing array lookups (fixes #2405) 11 years ago
Stefan Bühler 22e8b456a9 Fix header inclusion order, always include "config.h" before any system header 13 years ago
Stefan Bühler 4642508de3 Some small buffer.c fixes (closes #1837) 14 years ago
Stefan Bühler d62f894344 Fix url encoding to encode more characters (#266) 14 years ago
Stefan Bühler f7dd7203e2 Fix buffer_reset to make an empty string 14 years ago
Jan Kneschke 53634de06f protect buffer_is_empty() from NULL buffers 15 years ago
Jan Kneschke 51826fc05c renamed ltostr() to LI_ltostr() to fix compile on HP/UX (fixes #465) 15 years ago
Jan Kneschke 5f518191bd fixed wrong result of buffer_caseless_compare("a", "ab") (fixes #1287) 15 years ago
Jan Kneschke a0436cea45 encode newlines in HTTP headers (fixes #1106) 16 years ago
Marcus Rückert 8cd1471cb3 - white space cleanup part 2 this time 1.4 ;) 16 years ago
Jan Kneschke 71e66c88ec fix cygwin-only path traversal 16 years ago