Static::Simple, added path security fix
[catagits/Catalyst-Plugin-Static-Simple.git] / Changes
CommitLineData
d6d29b9b 1Revision history for Perl extension Catalyst::Plugin::Static::Simple
2
d38d0ed6 30.12
4 - Made prepare_action play nice with other plugins by not short-
5 circuiting.
6 - Added tmpl to the ignored extensions.
e822b965 7 - Fixed security problem if req->path contained '..'.
d38d0ed6 8
90.11 2005-11-13 16:25:00
766f4ce4 10 - Removed the code that set the 304 Not Modified header. This caused
11 problems with IE under Apache.
e358be85 12 - Changed 5.50 writing method to pass an IO::File object directly to
5224ce15 13 $c->res->body.
766f4ce4 14 - This version is included with Catalyst 5.50.
5224ce15 15
be327929 160.10 2005-10-19 17:20:00
2cb3d585 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
df701614 260.09 2005-10-07 13:40:00
8cc672a2 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
fa43d6b5 32 - include_path is no longer experimental.
8cc672a2 33 - Added support for hiding log output, depends on Cat 5.50.
34 (Marcus Ramberg)
2de14076 35
e37ad815 360.08 2005-09-07 18:50:00
37 - Added tests for everything except Apache support.
2268e329 38
390.07 2005-09-05 21:05:00
40 - POD fixes. (Thomas L. Shinnick)
41
b1d96e3e 420.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
d6d29b9b 480.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
580.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
650.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
710.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
760.01 2005-08-11 22:00:00
77 - Initial release.