You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/02/01 10:39:27 UTC
[Bug 44221] CheckCaseOnly On does not stop Multiple Choices based on
common basename
https://bz.apache.org/bugzilla/show_bug.cgi?id=44221
Alexey Melezhik <me...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |melezhik@gmail.com
--- Comment #15 from Alexey Melezhik <me...@gmail.com> ---
Hi!
Once patch is applied the issue could be verified by this:
( https://github.com/melezhik/apache-swat - is easy way to verify some existed
apache issues against your environment ).
At my environment tests suite fails ( which is expected ? )
vagrant@Debian-jessie-amd64-netboot:~/my/apache-swat$ swat -t 44221
/home/vagrant/.swat/.cache/9836/prove/44221/FOO.bar/00.GET.t ...
ok 1 - GET 127.0.0.1/44221/FOO.bar succeeded
# http headers saved to /home/vagrant/.swat/.cache/9836/prove/xeu0b4EQHn.hdr
# body saved to /home/vagrant/.swat/.cache/9836/prove/xeu0b4EQHn
ok 2 - output match '200 OK'
ok 3 - output match /Location: \S+/
ok 4 - 'Location: http://127.0.0.1/44221/foo.bar' match 'foo.bar'
1..4
ok
/home/vagrant/.swat/.cache/9836/prove/44221/foo.html/00.GET.t ..
ok 1 - GET 127.0.0.1/44221/foo.html succeeded
# http headers saved to /home/vagrant/.swat/.cache/9836/prove/ipywRk4nnn.hdr
# body saved to /home/vagrant/.swat/.cache/9836/prove/ipywRk4nnn
ok 2 - output match /HTTP\/(\S+) (\d+) \S+/
not ok 3 - 'HTTP/1.1 300 Multiple Choices' match /404 /
# Failed test ''HTTP/1.1 300 Multiple Choices' match /404 /'
# at /usr/local/share/perl/5.20.2/swat.pm line 218.
not ok 4 - output match 'Not Found'
# Failed test 'output match 'Not Found''
# at /usr/local/share/perl/5.20.2/swat.pm line 218.
1..4
# Looks like you failed 2 tests of 4.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
/home/vagrant/.swat/.cache/9836/prove/44221/foo.bar/00.GET.t ...
ok 1 - GET 127.0.0.1/44221/foo.bar succeeded
# http headers saved to /home/vagrant/.swat/.cache/9836/prove/MuDUZpFoR3.hdr
# body saved to /home/vagrant/.swat/.cache/9836/prove/MuDUZpFoR3
ok 2 - output match '200 OK'
1..2
ok
/home/vagrant/.swat/.cache/9836/prove/44221/foo.baz/00.GET.t ...
ok 1 - GET 127.0.0.1/44221/foo.baz succeeded
# http headers saved to /home/vagrant/.swat/.cache/9836/prove/jLZttcgKYZ.hdr
# body saved to /home/vagrant/.swat/.cache/9836/prove/jLZttcgKYZ
ok 2 - output match '200 OK'
1..2
ok
/home/vagrant/.swat/.cache/9836/prove/44221/foo.BAR/00.GET.t ...
ok 1 - GET 127.0.0.1/44221/foo.BAR succeeded
# http headers saved to /home/vagrant/.swat/.cache/9836/prove/J91YGHyu9m.hdr
# body saved to /home/vagrant/.swat/.cache/9836/prove/J91YGHyu9m
ok 2 - output match '200 OK'
ok 3 - output match /Location: \S+/
ok 4 - 'Location: http://127.0.0.1/44221/foo.bar' match 'foo.bar'
1..4
ok
Test Summary Report
-------------------
/home/vagrant/.swat/.cache/9836/prove/44221/foo.html/00.GET.t (Wstat: 512
Tests: 4 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
Files=5, Tests=16, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.30 cusr 0.01
csys = 0.35 CPU)
Result: FAIL
My apache build info:
vagrant@Debian-jessie-amd64-netboot:~/my/apache-swat$ sudo
~/apache/bin/apachectl -V
Server version: Apache/2.4.18 (Unix)
Server built: Jan 30 2016 10:17:37
Server's Module Magic Number: 20120211:52
Server loaded: APR 1.5.1, APR-UTIL 1.5.4
Compiled using: APR 1.5.1, APR-UTIL 1.5.4
Architecture: 64-bit
Server MPM: event
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/home/vagrant/apache/"
-D SUEXEC_BIN="/home/vagrant/apache//bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org