I have investigated this a bit more.

>http://www.masonhq.com/docs/manual/Request.html#item_decline
>"If no dhandler is available, a not-found error occurs."

A not-found error does not occur, instead a 500 Internal Server Error 
occurs.

To reproduce:

> have an empty site with only /dhandler and just one line in
> it:
>
> % $m->decline;



The root of the problem appears to be somewhere else than in the search 
block of Request.pm, but I haven't found out where exactly.

> There's a slight difference in the if structure of the 1.27 patch and the
> way it was implemented in 1.29_01. The way the patched 1.27 handles the
> case is to pass it on to Apache.

Both do the same, jswartz's way is just a bit more elegant way to do the 
search.

------------------------------------------------------------------------
Oskari "Okko" Ojala
Frantic Media

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to