Static::Simple, added path security fix
[catagits/Catalyst-Plugin-Static-Simple.git] / Changes
1 Revision history for Perl extension Catalyst::Plugin::Static::Simple
2
3 0.12
4         - Made prepare_action play nice with other plugins by not short-
5           circuiting.
6         - Added tmpl to the ignored extensions.
7         - Fixed security problem if req->path contained '..'.
8
9 0.11    2005-11-13 16:25:00
10         - Removed the code that set the 304 Not Modified header.  This caused
11           problems with IE under Apache.
12         - Changed 5.50 writing method to pass an IO::File object directly to
13           $c->res->body.
14         - This version is included with Catalyst 5.50.
15
16 0.10    2005-10-19 17:20:00
17         - Added tt2 to the list of ignored extensions.
18         - For Catalyst 5.5+, replaced File::Slurp with a buffered read/write
19           process.  This will improve memory usage and performance on larger
20           static files.
21         - Removed Apache integration feature.  It is slower than serving
22           through Catalyst and as far as I know no one is using it.  If you
23           need the best performance, use a separate Location block for static
24           content.
25
26 0.09    2005-10-07 13:40:00
27         - Added new configuration options to improve security:
28           ignore_extensions - keep certain extensions from being static
29           - This option defaults to tt, html, and xhtml to prevent
30             template files from being accessible.
31           ignore_dirs - keep certain dirs from being static
32         - include_path is no longer experimental.
33         - Added support for hiding log output, depends on Cat 5.50. 
34           (Marcus Ramberg)
35
36 0.08    2005-09-07 18:50:00
37         - Added tests for everything except Apache support.
38
39 0.07    2005-09-05 21:05:00
40         - POD fixes. (Thomas L. Shinnick)
41
42 0.06    2005-09-05 15:40:00
43         - Moved initial file check into prepare_action so processing can
44           bypass other plugins.
45         - Added error-checking to static dir regexes.
46         - Cleaned up various code as per Best Practices.
47
48 0.05    2005-08-26 12:00:00
49         - Added use_apache option to enable the Apache DECLINED
50           support.  Default is disabled as it appears Catalyst is
51           faster at serving the files!
52         - Added a check that Apache's DocumentRoot matches Catalyst's
53           root before serving DECLINED.
54         - Preload MIME::Types index during setup() so it's not built on
55           the first request.
56         - Added a note on performance of Apache vs. Catalyst.
57
58 0.04    2005-08-22 12:00:00
59         - Fixed bug where static files were searched for on every request
60           even without a file extension.
61         - Fixed bug where files without extensions in defined static dirs
62           were not served with text/plain.
63         - Consolidated the debug log messages.
64
65 0.03    2005-08-21 23:50:00
66         - Added config option for include_path to allow for multiple 
67           directories with static files.  This option should be
68           considered experimental!
69         - Documentation cleanups.
70
71 0.02    2005-08-16 18:00:00
72         - Return DECLINED when running under mod_perl to allow Apache to
73           serve the static file.  This is not done when any custom MIME
74           types have been specified, however.
75
76 0.01    2005-08-11 22:00:00
77         - Initial release.