46 Commits (acad2c903af14c19c640f927860ce6ef6071aed0)

Author SHA1 Message Date
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() 6 years ago
Glenn Strauss e5006d88eb pass buf size to li_tohex() 6 years ago
Stefan Bühler 0a61fdecac [buffer] refactor buffer_path_simplify (fixes #2560) 6 years ago
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073) 6 years ago
Stefan Bühler 2abdf0143b [buffer] use explicit integer promotion to make the code more readable 6 years ago
Stefan Bühler 3943de280e [core] add '~' to safe characters in ENCODING_REL_URI/ENCODING_REL_URI_PART encoding 6 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 7 years ago
Stefan Bühler 91a9a6b391 rename buffer_append_long_hex to buffer_append_uint_hex 7 years ago
Stefan Bühler ad3e93ea96 Use buffer API to read and modify "used" member 7 years ago
Stefan Bühler 4365bdbebe Remove buffer_prepare_copy() and buffer_prepare_append() 7 years ago
Stefan Bühler 1be163b44a Remove chunkqueue_get_{append,prepend}* API 7 years ago
Stefan Bühler 6afad87d2e fix buffer, chunk and http_chunk API 7 years ago
Stefan Bühler 3521be8b85 print backtrace in assert logging with libunwind 7 years ago
Stefan Bühler 07dd0bd0a5 add force_assert() to enforce assertions as simple assert()s are disabled by -DNDEBUG (fixes #2546) 8 years ago
Stefan Bühler bf10267807 [buffer] fix length check in buffer_is_equal_right_len 8 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 9 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) 10 years ago
Stefan Bühler 22e8b456a9 Fix header inclusion order, always include "config.h" before any system header 12 years ago
Stefan Bühler 4642508de3 Some small buffer.c fixes (closes #1837) 13 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) 15 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
Jan Kneschke a1e6331f04 fixed encoding of UTF8 data (Jani Taskinen <sniper@iki.fi>) 16 years ago
Jan Kneschke 6770984a0c fixed encoding of the buffers and trust the length of the string 16 years ago
Jan Kneschke 976f32182e simplified buffer-encoding functions into one function 16 years ago
Jan Kneschke ac7db634f6 detect empty URIs in requests as bad request, status 400 17 years ago
Jan Kneschke c2f868c02a removed optimization as it didn't handled alignement issues 17 years ago
Jan Kneschke 017e014b02 trust s_len in encode-html (merged [406]) 17 years ago
Jan Kneschke f8687d3f6b added functions for upper/lowercase a buffer and added 'len' the html-encoding 17 years ago
Jan Kneschke 6e78c2c8df user defined variable, compute on parsing: string+string, int+int, array+array, var+=expression. 17 years ago
Jan Kneschke 09903fa706 one character was not compared for the string-length was below sizeof(size_t) 17 years ago
Jan Kneschke 6481f003f2 added a reset function to buffer_array 17 years ago
Jan Kneschke acfe706d73 Looks like the '+' -> ' ' transformation is only applied in the ?query part and not the rel-path. 17 years ago
Jan Kneschke bde657648d compile fixes for MIPSpro on IRIX 17 years ago
Jan Kneschke 75fae49e37 * If sizeof(long) == sizeof(off_t), buffer_{append,copy}_off_t() 17 years ago
Jan Kneschke bcdc6a3bbc moved everything below trunk/ and added branches/ and tags/ 17 years ago