Re: index files do not work on 2.20 if allow_path_info is not set
Pedro Melo <[email protected]> Mon, 7 Jan 2013 12:21:17 +0000
| Newsgroups | gmane.comp.web.mason.user |
|---|---|
| Message-ID | <CACCxPi0zdnEWDgVbzL2rNiJrzV2XVj9Xiy3_qhW2bX02hkfenQ@mail.gmail.com> |
Hi, On Mon, Jan 7, 2013 at 7:13 AM, Jonathan Swartz <[email protected]> wrote: > > On Jan 6, 2013, at 1:03 PM, Oliver Paukstadt <[email protected]> wrote: >>> >> There is a test for this case as far as I understand line 104 in >> Mason-2.20/lib/Mason/t/ResolveURI.pm correct. But this one is designed >> wrong in my eyes. It fits the implementation, not what was reality >> before the 2.20 release and what is reasonable and expected. No. That test is for dhandler + index presence. I've open a new pull request, right now it only has two new test cases that should work. https://github.com/jonswar/perl-mason/pull/16 Can you please check and see if the following tests cover what you are seing? https://github.com/melo/perl-mason/commit/09e99805f25b05301095881596c906db52836a9e#L0R106 The /foo/ is failing, working on that right now. >> Index files are for being displayed, when a directory is hit. Having >> them only displayed when allow_path_info is set is like having to define >> allow_path_info inside of all dhandlers. > > Agreed. +1. Bye -- Pedro Melo @pedromelo http://www.simplicidade.org/ http://about.me/melo xmpp:[email protected] mailto:[email protected] ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412