summaryrefslogtreecommitdiffstats
path: root/test/unit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *) core: make ap_escape_quotes() work correctly on stringsStefan Eissing2022-04-061-0/+35
| | | | | | | | | with more than MAX_INT/2 characters, counting quotes double. Credit to <generalbugs@zippenhop.com> for finding this. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899609 13f79535-47bb-0310-9956-ffa450edef68
* On the trunk:Stefan Eissing2017-09-252-2/+0
| | | | | | | | Fix for maintainer-mode compiler errors when including check.h in unit tests. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1809633 13f79535-47bb-0310-9956-ffa450edef68
* httpdunit: merge CVE-2017-9788 regression tests from feature branchJacob Champion2017-07-151-0/+107
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1801998 13f79535-47bb-0310-9956-ffa450edef68
| * CVE-2017-9788: add unit tests for get_digest_rec()Jacob Champion2017-07-151-0/+107
| | | | | | | | | | | | | | Including the module source is a dirty hack, but maybe the direct way is best for now. More functional tests are still TODO. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1801996 13f79535-47bb-0310-9956-ffa450edef68
* | util.c: add a strict Base64 decoding functionJacob Champion2017-06-211-0/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ap_pbase64decode_strict() adds to the functionality of ap_pbase64decode() in two ways: - the length of the decoded buffer is returned, allowing embedded NULLs to be retained by the caller - the input string is strictly checked for Base64 validity, including correct zero-padding at the end of the string (This was originally added to the httpdunit feature/backport branch in r1796208, then reverted in r1799376, since it's currently intended for trunk only.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1799380 13f79535-47bb-0310-9956-ffa450edef68
* | ap_get_basic_auth_components: add unit testsJacob Champion2017-06-211-0/+156
|/ | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1799379 13f79535-47bb-0310-9956-ffa450edef68
* ap_find_token: add unit testsJacob Champion2017-06-211-0/+88
| | | | | | Add previously embargoed test case for CVE-2017-7668. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1799377 13f79535-47bb-0310-9956-ffa450edef68
* Revert new base64 function and testsJacob Champion2017-06-211-175/+0
| | | | | | This should be trunk-only, not part of the backport branch. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1799376 13f79535-47bb-0310-9956-ffa450edef68
* util.c: add a strict Base64 decoding functionJacob Champion2017-05-251-0/+175
ap_pbase64decode_strict() adds to the functionality of ap_pbase64decode() in two ways: - the length of the decoded buffer is returned, allowing embedded NULLs to be retained by the caller - the input string is strictly checked for Base64 validity, including correct zero-padding at the end of the string git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1796208 13f79535-47bb-0310-9956-ffa450edef68