History log of /lighttpd1.4/src/t/test_buffer.c (Results 1 – 11 of 11)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: lighttpd-1.4.69, lighttpd-1.4.68, lighttpd-1.4.67, lighttpd-1.4.66
# 91ce3b08 10-Jun-2022 Glenn Strauss <[email protected]>

[core] buffer_append_bs_escaped_json()

separate func from buffer_append_bs_escaped() so that both
buffer_append_bs_escaped() and buffer_append_bs_escaped_json()
can be slightly more specialized and

[core] buffer_append_bs_escaped_json()

separate func from buffer_append_bs_escaped() so that both
buffer_append_bs_escaped() and buffer_append_bs_escaped_json()
can be slightly more specialized and optimized

show more ...


Revision tags: lighttpd-1.4.65, lighttpd-1.4.64, lighttpd-1.4.63, lighttpd-1.4.62
# bab0e5d0 15-Nov-2021 Glenn Strauss <[email protected]>

[tests] combine tests into test_common.c

combine common components tests into test_common.c

combine into a single executable to reduce compilation/link redundancy


Revision tags: lighttpd-1.4.61, lighttpd-1.4.60
# 22e8f600 08-May-2021 Glenn Strauss <[email protected]>

[core] quiet coverity noise


# 980554bc 08-May-2021 Glenn Strauss <[email protected]>

[core] simplify buffer_path_simplify()


Revision tags: lighttpd-1.4.59, lighttpd-1.4.58, lighttpd-1.4.57, lighttpd-1.4.56, lighttpd-1.4.56-rc7, lighttpd-1.4.56-rc6, lighttpd-1.4.56-rc5, lighttpd-1.4.56-rc4, lighttpd-1.4.56-rc3, lighttpd-1.4.56-rc2, lighttpd-1.4.56-rc1, lighttpd-1.4.55
# 17e0b6fe 22-Jan-2020 Glenn Strauss <[email protected]>

[tests] use buffer_eq_slen() for str comparison

(substitute buffer_eq_slen() for buffer_is_equal_string())


Revision tags: lighttpd-1.4.54, lighttpd-1.4.53, lighttpd-1.4.52
# 77c01f98 28-Nov-2018 Glenn Strauss <[email protected]>

[core] buffer_append_path_len()

concatenate paths, placing single '/' between strings

reverts broken commit:b9402283

(thx avij)


# e8e59396 25-Nov-2018 Glenn Strauss <[email protected]>

[core] reject decoded url-path without leading '/'

buffer_simplify_path() no longer prepends '/' if '/' is missing.
Callers must check for leading '/' depending on use, such as in
concatenation with

[core] reject decoded url-path without leading '/'

buffer_simplify_path() no longer prepends '/' if '/' is missing.
Callers must check for leading '/' depending on use, such as in
concatenation with others paths, or direct use accessing filesystem

Note: lighttpd 1.4.50 provides the server.http-parseopts directive.
Recommended settings unless specific use requires looser settings:
server.http-parseopts = (
"header-strict" => "enable",
"host-strict" => "enable",
"host-normalize" => "enable",
"url-normalize" => "enable",
"url-normalize-unreserved" => "enable",
"url-normalize-required" => "enable",
"url-ctrls-reject" => "enable",
"url-path-2f-decode" => "enable",
"url-path-dotseg-remove" => "enable",
"url-query-20-plus" => "enable"
)

x-ref:
https://digi.ninja/blog/lighttpd_rewrite_bypass.php

As noted in the link above, mod_access should be preferred instead
of mod_rewrite for access controls to URLs.

show more ...


# aba45f68 18-Nov-2018 Glenn Strauss <[email protected]>

[core] perf: simpler buffer_string_space() (tests)


Revision tags: lighttpd-1.4.51
# c98d89a4 23-Sep-2018 Glenn Strauss <[email protected]>

[tests] #undef NDEBUG before assert.h in t/test_*


Revision tags: lighttpd-1.4.50
# 2e385a1a 03-May-2018 Glenn Strauss <[email protected]>

[core] fix buffer_to_upper()

fix buffer_to_upper() and case-insensitive filesystem detection


# 6ccccaaa 23-Apr-2018 Glenn Strauss <[email protected]>

[tests] move src/test_*.c to src/t/