Weekly todo activity, May 23 to May 30
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
Weekly todo activity, May 23 to May 30
New task #541: Document syntax for calling component with content from Perl section
It is possible to call a component with content (<&| &>)
from Perl:
$m->comp({content=>sub { $m->print('put content here') }},
comp_path, args...);
We just need to document this. We should also allow content
to be a simple scalar, for the sake of this syntax.
Sun May 23 Jonathan Swartz created task
http://www.masonhq.com/docs/todo/access.html?id=541
New task #543: Decline unslashed directory path even when decline_dirs=0
Apache's mod_dir adds a slash to the end of a URI (via a 301
redirect) when the URI resolves to a directory. This
behavior is prevented when Mason's decline_dirs=0. Should
always decline directories with no ending slash so that
slash can be added, regardless of decline_dirs setting:
return DECLINED if $r->content_type eq DIR_MAGIC_TYPE
&& $r->uri =~ m{/$};
Sun May 23 Jonathan Swartz created task
http://www.masonhq.com/docs/todo/access.html?id=543
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click