-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 SORRY.. attachment is here.. :)
Kanagasabai Sriskanthaverl wrote: > I have attached a perl test script to validate this bug. This is what u > have to do.. > > * copy the attached tar file test_symlink.tar.gz to > ./httpd-test/perl-framework/ > > * untar it, make and run t/TEST > > > *run "t/TEST -verbose t/apache/sym_link.t" to run the required test only > in verbose mode. > > All test cases have to be passed with the desired apache functionality. > but due to the bug in concern, test 2 is 'not ok'. > > sample output(with the bug..) > > ok 1 > # testing : calling url of a directory, where symlinks are not allowed > and index.html is a symbolic link. > # expected: 403 > # received: 200 > not ok 2 > # Failed test 2 in t/apache/sym_link.t at line 14 > # testing : calling the url of a symlink 'index.html' in a dir where > symlinks are not allowed > # expected: 403 > # received: 403 > ok 3 > # testing : calling url of a directory, where symlinks are allowed and > index.html is a symbolic link. > # expected: 200 > # received: 200 > ok 4 > # testing : calling url of a symlink 'index.html' in a dir where > symlinks are allowed. > # expected: 200 > # received: 200 > ok 5 > FAILED test 2 > Failed 1/5 tests, 80.00% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > - > - > ------------------------------------------------------------------------------- > t/apache/sym_link.t 5 1 20.00% 2 > > > > Regards > Sris > > William A. Rowe, Jr. wrote: >>> This is much closer to what I'm working with, I like your patch better >>> in fact. >>> >>> Please commit to trunk; I believe we can reoptimize the familiar case using >>> a different rule based on a cached canonical filename pattern. -but- this >>> shouldn't hold up committing this fix; if you can save two flavors which >>> apply clean to 2.0.58, 2.2.2, then we should make these available >>> immediately >>> under /dist/httpd/patches/apply_to_2.x.x/ locations. >>> >>> Working on a perl-framework validation that my collegue Sris started, >>> and will >>> commit that the moment it's ready. >>> >>> Bill -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEvw/aKjzBuDV8dpIRAltTAJ9bjZQH5s5hoOhvEnntnwej0HYTPQCeOiLe NI++DjiaDMfqjkKiZMPe+FI= =vDgs -----END PGP SIGNATURE-----
test_symlink.tar.gz
Description: GNU Zip compressed data
begin:vcard fn:Sriskanthaverl Kanagasabai n:Kanagasabai;Sriskanthaverl email;internet:[EMAIL PROTECTED] x-mozilla-html:FALSE version:2.1 end:vcard