Static::Simple 0.16 - fix 204/304 bug under mod_perl. Allow files in static dirs...
[catagits/Catalyst-Plugin-Static-Simple.git] / Changes
CommitLineData
d6d29b9b 1Revision history for Perl extension Catalyst::Plugin::Static::Simple
2
c8ee8fd2 30.16
4 - Allow all files in directories defined by the config option 'dirs'
5 to be served as static even if the file matches ignore_dirs or
6 ignore_extensions.
7 - Fixed bug where 204 or 304 status codes would result in a 500 error
8 under mod_perl.
9
9d557523 100.15 2006-12-08 22:30:00
11 - Quote metacharacters used in $c->config->{dirs} (Vlad Dan Dascalescu)
bdf5afa1 12 - store Mime::Types object in config hash instead of as classdata
13 - cleanup code a bit
14
792411e6 150.14 2006-03-24 11:15:00
16 - Unescape the URI path before looking for the file. This fixes
17 issues with files that have spaces.
18
48791b66 190.13 2005-12-15 10:00:00
20 - Fixed bug in ignore_dirs under win32.
bc5b1283 21 - Doc rewriting
48791b66 22
230.12 (released only with Catalyst)
d38d0ed6 24 - Made prepare_action play nice with other plugins by not short-
25 circuiting.
26 - Added tmpl to the ignored extensions.
e822b965 27 - Fixed security problem if req->path contained '..'.
d38d0ed6 28
290.11 2005-11-13 16:25:00
766f4ce4 30 - Removed the code that set the 304 Not Modified header. This caused
31 problems with IE under Apache.
e358be85 32 - Changed 5.50 writing method to pass an IO::File object directly to
5224ce15 33 $c->res->body.
766f4ce4 34 - This version is included with Catalyst 5.50.
5224ce15 35
be327929 360.10 2005-10-19 17:20:00
2cb3d585 37 - Added tt2 to the list of ignored extensions.
38 - For Catalyst 5.5+, replaced File::Slurp with a buffered read/write
39 process. This will improve memory usage and performance on larger
40 static files.
41 - Removed Apache integration feature. It is slower than serving
42 through Catalyst and as far as I know no one is using it. If you
43 need the best performance, use a separate Location block for static
44 content.
45
df701614 460.09 2005-10-07 13:40:00
8cc672a2 47 - Added new configuration options to improve security:
48 ignore_extensions - keep certain extensions from being static
49 - This option defaults to tt, html, and xhtml to prevent
50 template files from being accessible.
51 ignore_dirs - keep certain dirs from being static
fa43d6b5 52 - include_path is no longer experimental.
8cc672a2 53 - Added support for hiding log output, depends on Cat 5.50.
54 (Marcus Ramberg)
2de14076 55
e37ad815 560.08 2005-09-07 18:50:00
57 - Added tests for everything except Apache support.
2268e329 58
590.07 2005-09-05 21:05:00
60 - POD fixes. (Thomas L. Shinnick)
61
b1d96e3e 620.06 2005-09-05 15:40:00
63 - Moved initial file check into prepare_action so processing can
64 bypass other plugins.
65 - Added error-checking to static dir regexes.
66 - Cleaned up various code as per Best Practices.
67
d6d29b9b 680.05 2005-08-26 12:00:00
69 - Added use_apache option to enable the Apache DECLINED
70 support. Default is disabled as it appears Catalyst is
71 faster at serving the files!
72 - Added a check that Apache's DocumentRoot matches Catalyst's
73 root before serving DECLINED.
74 - Preload MIME::Types index during setup() so it's not built on
75 the first request.
76 - Added a note on performance of Apache vs. Catalyst.
77
780.04 2005-08-22 12:00:00
79 - Fixed bug where static files were searched for on every request
80 even without a file extension.
81 - Fixed bug where files without extensions in defined static dirs
82 were not served with text/plain.
83 - Consolidated the debug log messages.
84
850.03 2005-08-21 23:50:00
86 - Added config option for include_path to allow for multiple
87 directories with static files. This option should be
88 considered experimental!
89 - Documentation cleanups.
90
910.02 2005-08-16 18:00:00
92 - Return DECLINED when running under mod_perl to allow Apache to
93 serve the static file. This is not done when any custom MIME
94 types have been specified, however.
95
960.01 2005-08-11 22:00:00
97 - Initial release.