Commit Graph

301 Commits (8faa456fc88f29dd108d49bf417fcb1b05d11bbc)

Author SHA1 Message Date
Stefan Bühler adfa06de99 [tests] improve valgrind and strace TRACEME, disable condition logging in normal configs
8 years ago
Stefan Bühler d1a2356916 fix SQL injection / host name validation (thx Jann Horn)
9 years ago
Stefan Bühler d7c90814c3 [tests] add cleanup.sh to cmake test runs, reset SLOWREQUEST in request.t
9 years ago
Stefan Bühler a4640b457e [tests] use list for perl exec to skip the sh wrapper
10 years ago
Stefan Bühler 95dc1ed79e [tests] add mod_simplevhost tests
10 years ago
Stefan Bühler f0a2c0f293 [mod_user] add test cases to check handling of encoded ~ as %7E (#2124)
10 years ago
Stefan Bühler c26b50d9ad [mod_auth] add htpasswd -s (SHA1) support if openssl is used (needs openssl for SHA1). This doesn't use any salt, md5 with salt is probably better.
10 years ago
Stefan Bühler 543bd249fb fix handling of If-Modified-Since if If-None-Match is present (don't return 412 for date parsing errors); follow current draft for HTTP/1.1, which tells us to ignore If-Modified-Since if we have matching etags.
10 years ago
Stefan Bühler 6200764f05 tests: check different combination of empty values, leading/trailing spaces and commas in the Connection header
10 years ago
Cyril Brulebois 4f4bcdd3c3 tests: make sure mod_proxy doesn't leave running processes (fixes #2435, thx kibi)
11 years ago
Cyril Brulebois 0c6a564543 Fix non-ANSI function declarations.
11 years ago
Stefan Bühler 7187271fb6 [auth] Add "AUTH_TYPE" environment (for *cgi), remove fastcgi specific workaround, add fastcgi test case (fixes #889)
11 years ago
Stefan Bühler 6c9dff7cda [mod_auth] Fix signedness error in http_auth (fixes #2370, CVE-2011-4362)
11 years ago
Stefan Bühler e05f1b3eec Add static-file.disable-pathinfo option to prevent handling of urls like .../secret.php/image.jpg as static file
12 years ago
Stefan Bühler bf0d57d505 two additional test cases for absolute http(s) uris in the request line
12 years ago
Stefan Bühler 1eef447d32 [tests] Add path traversal check with $HTTP['url']
12 years ago
Stefan Bühler 48fea28651 Fix request parser to handle packets with splitted \r\n\r\n (fixes #2105)
13 years ago
Stefan Bühler 6ecb86159c Fix accesslog escape segfault (#1551)
14 years ago
Stefan Bühler 8c83976dbe mod_fastcgi: Add "X-Sendfile2" - supporting multiple ranged files (fixes #2008)
14 years ago
Peter Colberg 8b6dae4139 Add TLS servername indication (SNI) support (fixes #386, thx Peter Colberg <peter@colberg.org>)
14 years ago
Stefan Bühler 83145e8ba6 mod_rewrite: add url.rewrite-[repeat-]if-not-file to rewrite if file doesn't exist or is not a regular file (fixes #985, thx lucas aerbeydt)
14 years ago
Stefan Bühler fd13e94427 mod_fastcgi: restart local procs immediately after they terminated, fix local procs handling
14 years ago
Stefan Bühler ce74fd521c tests: Rename env-var to select tests to RUNTESTS
14 years ago
Stefan Bühler d21c645bfa mod_compress: match partial+full content-type (fixes #1552)
14 years ago
Stefan Bühler 17d0c36eed Read hostname from absolute uris in the request line (fixes #1937)
14 years ago
Stefan Bühler 0eff441bb6 tests: fix endless loop if connect fails without the child dying
14 years ago
Stefan Bühler 64c2e93336 Cleanup tree: remove .cvsignore and ChangeLog (deprecated by NEWS)
14 years ago
Stefan Bühler b3ba9f0fb9 tests: use breakage log
14 years ago
Stefan Bühler 5865a2e3f2 Removed sendfile.php from dist
14 years ago
Stefan Bühler b2108c436c Remove X-Sendfile-Range feature; it will be replaced with something more powerful (#2005, #2008)
14 years ago
Stefan Bühler 60e745695a Fix 100% cpu usage if time() < 0 (thx to gaspa and cate, fixes #1964)
14 years ago
Stefan Bühler ad1e80e5af Add X-Sendfile-Range feature (fixes #2005)
14 years ago
Stefan Bühler 59eaedf353 [tests] Remove index.html~ from repository, create it on the fly for tests
14 years ago
Stefan Bühler 3af67d1392 Ignore multiple "If-None-Match" headers (only use first one, fixes #753)
14 years ago
Stefan Bühler 57066345e4 Workaround broken operating systems: check for trailing '/' in filenames (fixes #1989)
14 years ago
Stefan Bühler b8b4fe19c8 Finally removed spawn-fcgi
14 years ago
Stefan Bühler ce39062dd2 Fix workaround for incorrect path info/scriptname if fastcgi prefix is "/" (fixes #729)
14 years ago
Stefan Bühler b06a8648df [tests] Fix mod-rewrite test (skipped too many tests if php wasn't running)
14 years ago
Stefan Bühler fdcb6f60f4 Allow mod_compress to return 304 (Not Modified); compress ignores the static-file.etags option.(fixes #1884)
14 years ago
Stefan Bühler 36f74e5d23 Revert url decoding+simplifying before matching of mod_rewrite/mod_redirect
14 years ago
Stefan Bühler 454aefc51a [cmake] Add basic cmake support
14 years ago
Stefan Bühler 34172dfb09 [tests] Fix tests/mod-compress.conf distribution
14 years ago
Elan Ruusamäe c6c2bf8308 - Add possibility to disable methods in mod_compress (#1773)
15 years ago
Stefan Bühler 80a4f7a721 Fix fastcgi authorization in subdirectories with check-local=disabled; don't split pathinfo for authorizer. (#963)
15 years ago
Stefan Bühler 124d8cd555 Fix make dist (remove dummydir)
15 years ago
Stefan Bühler 24804542d2 [tests] fix skip in mod-rewrite
15 years ago
Stefan Bühler 3cb2c1c39c [tests] Added env var TESTS to select only a subset of tests
15 years ago
Stefan Bühler 5547928112 Decode url before matching in mod_rewrite (#1720)
15 years ago
Stefan Bühler 0c8ebbeb60 [tests] Fix fastcgi php finding
15 years ago
Stefan Bühler 2bd973108d [tests] remove env TODO test: don't use undefined env vars
15 years ago
Stefan Bühler 3bb07cad07 [tests] Fixed tests needing php running (if not running on port 1026, search php in env[PHP] or /usr/bin/php-cgi)
15 years ago
Stefan Bühler cbd40dc44b [tests] Remove pidfile from test system
15 years ago
Stefan Bühler 0b257bcefa [tests] Fixed test system, use foreground daemons and waitpid
15 years ago
Xuefer 765d3cbe6a avoid undefined index triggered by user's php.ini
15 years ago
Xuefer ead7276368 mark testcase executable
15 years ago
Stefan Bühler 074223041a Fix typo in test description
15 years ago
Stefan Bühler ac92ea3616 Allow all http status codes by default; disable body only for 204,205 and 304; generate error pages for 4xx and 5xx (#1639)
15 years ago
Jan Kneschke abe8e3613e added support to run dtruss as TRACEME
15 years ago
Stefan Bühler 0663d67c1a Fix symlink.t check to run with builddir != srcdir
15 years ago
Stefan Bühler 1431deba81 Add option to configure verbosity of check in commandline: "VERBOSE=1 make check"
15 years ago
Stefan Bühler 52840fa1ed fix sending "408 - Timeout" instead of "410 - Gone" for timedout urls in mod_secdownload (#1440)
15 years ago
Stefan Bühler 4875c125eb r2124@chromobil: stefan | 2008-02-27 19:34:57 +0100
15 years ago
Stefan Bühler debd30876a r2123@chromobil: stefan | 2008-02-27 19:30:54 +0100
15 years ago
Stefan Bühler 8b28023c85 Fix mod-proxy.t to run outside of the srcdir
15 years ago
Xuefer 925e96f5ed fix tests build for scons that has no config.h
15 years ago
Elan Ruusamäe cde46f6a3d - support chained proxies in mod_extforward (#1528)
15 years ago
Elan Ruusamäe b6d6b82b70 - add test for extforward module
15 years ago
Elan Ruusamäe 0f2fd1efd8 - add more missing files
15 years ago
Elan Ruusamäe 1f72c848af - add missing tests
15 years ago
Elan Ruusamäe f7dab695cc - sort
15 years ago
Elan Ruusamäe c65ad47a55 - change s/// separator that it doesn't confuse vim
15 years ago
Jan Kneschke 708f499d75 fixed case-sensitive match of auth-method (fixes #1456)
16 years ago
Jan Kneschke 5b2e697cfa * fixed hanging redirects with keep-alive due to missing
16 years ago
Marcus Rückert 8cb24edfd1 - added test case for crash on undefined environment variables
16 years ago
Marcus Rückert ea872bea37 - added testcase for bug #1322
16 years ago
Marcus Rückert 74c303a7b1 - a more portable version for the SAPI breakage in php 5.2.4
16 years ago
Jan Kneschke 30748f202c fixed timestamps for 32bit time_t which wraps at 2038
16 years ago
Marcus Rückert 6719b15c7b - added missing Makefile.am entries
16 years ago
Jan Kneschke 41e836b410 fixed extracting status code from NPH scripts (fixes #1125)
16 years ago
Jan Kneschke f67cdb67df fixed handling of duplicate If-Modified-Since to return 304
16 years ago
Jan Kneschke 5bc539b63e don't send a Content-Length for 1xx, 204 and 304 (fixes #1002)
16 years ago
Jan Kneschke 9bc4c2a025 added testcases for #1286 and #1287
16 years ago
Jan Kneschke f0333c8c0d fixed crash on mixed \r\n and \n sequences
16 years ago
Jan Kneschke 3bc2da57d3 fixed number of skipped tests
16 years ago
Marcus Rückert bafcebe06d - check the content for the send404 case too
16 years ago
Marcus Rückert 2573648c4b - added testcase for #948
16 years ago
Marcus Rückert 029d32039c - fixed 404 testsuite
16 years ago
Marcus Rückert 984f5caf57 make the cgi executable
16 years ago
Marcus Rückert 420abdb295 - added test cases for 404 handler
16 years ago
Marcus Rückert 58ea3c14c5 - make the test more portable
16 years ago
Marcus Rückert 01fab66c18 - added test for the location crash
16 years ago
Jan Kneschke 15e260c28b * fixed mem-leak in mod_auth (reported by Stefan Esser)
16 years ago
Jan Kneschke 022760f07d check the URL twice, before and after path-info handling. (fixes #1230)
16 years ago
Jan Kneschke 8b06b122b1 fixed by 1232, not 1209
16 years ago
Jan Kneschke 9e4e4f7e1a fixed remote crash on duplicate header keys with line-wrapping (fixes #1230)
16 years ago
Marcus Rückert b8df99f3db - a few more whitespace cleanups
17 years ago
Marcus Rückert 56de5af1cd - properly find fastcgi.h in /usr/include/fastcgi
17 years ago
Jan Kneschke 30d892061e merged [1174] and [1224]
17 years ago
Jan Kneschke 7d4d819599 merged [1055], [1056], [1068], [1172], [1176]
17 years ago
Marcus Rückert 7a6f8ced20 - added missing file symlink.t
17 years ago
Jan Kneschke 3521657508 merged [1105]
17 years ago
Marcus Rückert 657a024d53 - backport symlink patch in hard version to 1.4.11
17 years ago
Jan Kneschke d5c9873255 merged [1044], [1052], [1054]
17 years ago
Jan Kneschke 7ac34bb5ca make the wrapper compatible with solaris' /bin/sh
17 years ago
Jan Kneschke 9dbf12d8ed - fixed test for max-request-size on 64bit platforms
17 years ago
Jan Kneschke ad620446f2 we have an extra test for responders
17 years ago
Jan Kneschke 0b8de4b3ec allow leading zeros in HTTP/01.01 (fixes #542)
17 years ago
Jan Kneschke 096ec7f1ca OPTIONS may have a content-length
17 years ago
Jan Kneschke 1343f4c081 check for trailing spaces on windows
17 years ago
Jan Kneschke bd8e6919d2 added tests for possible crashes
17 years ago
Jan Kneschke df016dc983 give a warning on duplicate response headers
17 years ago
Jan Kneschke 6842dbb724 added tests for lowercase filesysytems
17 years ago
Jan Kneschke 580823f791 forbid Content-Length for GET, HEAD or OPTIONS requests
17 years ago
Jan Kneschke f6257d9118 made the 'spawn php myself' working again for me (jan)
17 years ago
Jan Kneschke bab099bca6 updated test as we don't overwrite the Server-Header anymore
18 years ago
Jan Kneschke 151daf933c added a keep-alive check for pipelining
18 years ago
Jan Kneschke a77f7a90d8 the range-request options was not handled at all, added test case
18 years ago
Jan Kneschke 51d6e2abf0 fixed output of non-cached compressed content and added test-cases
18 years ago
Jan Kneschke ac7db634f6 detect empty URIs in requests as bad request, status 400
18 years ago
Xuefer ef8f508a5f kill warning for string compare introduced by last changeset
18 years ago
Xuefer 809199f98f scons fixes, and built/test on cygwin
18 years ago
Xuefer 4b7f5b1a3f the missing part of [757]
18 years ago
Jan Kneschke bb0959bb65 the refer == "" tests are failing even if they should have been fixed already, make them as TODO for the final release
18 years ago
Xuefer 181fed2ab0 let u know what's wrong
18 years ago
Xuefer 1d3da14a5b make it works for both autotools/scons
18 years ago
Xuefer 9be1abfb85 an unset header is now treat as empty_string "" to make the conditional logic correct.
18 years ago
Jan Kneschke 4fc810eb34 this should have been part of [752]
18 years ago
Jan Kneschke 4005e69bbf added a check for $HTTP["referer"] == ""
18 years ago
Jan Kneschke cebb64e47b added a ssi check for the endless loop we had
18 years ago
Jan Kneschke e95ea21b1e added a alternative to automake and friends by using scons
18 years ago
Xuefer 14754f33f4 fix and add testcase for #255
18 years ago
Jan Kneschke 4e7ffb3a12 added lighttpd.passwd for the mod-auth tests
18 years ago
Jan Kneschke e2cf5d3094 tests for htpasswd + md5 and referer matching in conditionals
18 years ago
Jan Kneschke 903a007674 allow a stand alone version
18 years ago
Jan Kneschke cdd1f9547b a simple connect() on the port is better and faster
18 years ago
Jan Kneschke a732e84748 use netstat to check if a process is listening on port 1026
18 years ago
Xuefer 6f3e816fba redirect don't need $tf->{HOSTNAME}
18 years ago
Xuefer 7c4bd1e8bb wait the fastcgi process to be up
18 years ago
Jan Kneschke 3ebc17571a find perl at runtime
18 years ago
Jan Kneschke a44e7fc4c4 replace 'localhost' by gethostbyaddr for 127.0.0.1
18 years ago
Jan Kneschke 8e742eac4c minor portability fixes
18 years ago
Jan Kneschke 09f5416912 some files aren't shipped anymore
18 years ago
Jan Kneschke 4fc9ee0f86 removed duplicate test-scripts, added a test for bin-copy-env and cleaned up configfiles
18 years ago
Xuefer 4846d4ed80 the lost part of [240]
18 years ago
Jan Kneschke 7988661090 added tests for keep-alive and setenv and passed a ARRAY ref instead of a HASH ref
18 years ago
Jan Kneschke b14d500a9e do a long wait if the lighttpd isn't starting up fast enough
18 years ago
Jan Kneschke 1be36e4013 make 'make distcheck' happy and install files into _build/tests/
18 years ago
Jan Kneschke 849cbb728e create empty files for mimetype testing
18 years ago
Jan Kneschke 7d4f64c476 don't set a global uri-prefix and added checks (fixes #235)
18 years ago
Jan Kneschke 15b0109071 run tests in build root (merged #228)
18 years ago