Fix security vulnerability, when serving static files with dots in the names
[catagits/Catalyst-Plugin-Static-Simple.git] / Changes
CommitLineData
d6d29b9b 1Revision history for Perl extension Catalyst::Plugin::Static::Simple
6a009cf0 2
45d45d1c 3 - Fix security vulnerability, when serving static files with dots in the
4 names (RT#120558)
5
1e2e8a35 60.33 2014-09-26 17:00 BST
338b7e9c 7 - In the case where someone is trying to merge configurations
8 and some config sets use the depracated 'static' keyword, the
9 configs will be properly merged.
07257536 10
b6f6ec3f 110.32 2014-06-04 17:00 EDT
12 - Sets 'autoflush' in the Catalyst Log object to false if
13 available. This is a new API being added in Catalyst as of
14 version 5.90065
15
9e2ff944 160.31 2013-09-09 16:30:00
fa25e422 17 - Updated docs to reflect config key change from 'static' to
bfbfe88a 18 'Plugin::Static::Simple' (RT#77709)
af7168a1 19 - Migrated repository from subversion to git
c338a215 20 - Fixed MIME::Types 2.xx compatibility be removing call to an
21 undocumented method
ff1c0d19 22 - Bumped the MIME::Types requirement to 2.03 to ensure its
23 improvements make it into Catalyst environments
fa25e422 24
beda3b75 250.30 2012-05-04 17:05:00
41cac5ef 26 - Add Cache-Control:public header
27 - Optionally provide Expires header
59b31441 28 - Change configuration key to 'Plugin::Static::Simple' by default.
29 The old 'static' key is still supported, but issues a warning.
41cac5ef 30
afd629d3 310.29 2010-02-01 18:45:00
7c97dd21 32 - Switch from override to around, because really, wtf
33
8898e2b8 340.28 2010-01-04 13:15:00
151b8e0f 35 - Fix issues in debug mode. (RT#53338)
36
df92d92d 370.27 2010-01-03 14:49:00
d925e93e 38 - Switch to being a Moose role, removing dependencies on
39 Class::Data::Inheritable and Class::Accessor (Andrey Kostenko in
40 RT#51089)
bcba5d8b 41 - Make Pod tests mandatory for authors but never run otherwise
42 - Switch to Test::NoTabs to ensure no tabs, rather than
43 Test::Perl::Critic
d925e93e 44
60c13c3b 450.26 2009-12-06 12:30:00
a5d909f1 46 - Fix Pod to show less nasty method of assigning config by calling
47 the config method with parameters, rather than poking around inside
48 the hash.
9d5f0633 49 - Require newer (>= 0.15) Catalyst::Plugin::SubRequest for subrequest
50 tests as old versions don't work with new Catalyst (>= 5.80014)
51
9936ddfa 520.25 2009-10-22 21:40:00 BST
53 - Fix bug where old unrelated $@ values would result in an error.
54
1cc75f96 550.24 2009-10-18 19:10:00 BST
56 - Fixup copyright information
57
f60b44df 580.23 2009-10-06 17:40:39
919acaed 59 - Move actions out of TestApp into a Root controller as
60 this is now deprecated.
61
d1904f43 620.22 2009-08-21 18:14:59
626f8f70 63 - Add tests for delivering empty files.
64 - Fix those tests by depending on Catalyst-Runtime 5.80008.
65 - Throw away compatibility code for older catalyst versions.
b6fdf01d 66 - Fix docs to not include plugins in call to ->setup() (t0m)
40938a7c 67
660ba42b 680.21 2009-03-29 20:31:49
0ec2e326 69 - Documentation improvements (jester)
f8891514 70 - Change from NEXT to MRO::Compat - RT#40628, RT#44553 (ilmari)
ca9ed283 71 - Bump prereq to MIME::Types to 1.25 to correctly send files
72 commonly used to graft support for transparent PNGs into
73 MSIE6 - RT#41314 (Florian Ragwitz)
70e7680f 74
0495a293 750.20 2007-09-24 10:00:00
76 - Fixed issue where the static dir regex did not add a trailing
77 slash so URLs such as /static1 were served as static when they
78 should be handled by Catalyst. (Will Hawes)
79 - Added text/html Content-Type to 404 responses. (Will Hawes)
80
755bd822 810.19 2007-07-02 17:00:00
82 - Fixed test failure on some systems in 11serve_static.t due to
83 multiple MIME types defined for the extension '.pm'.
84
7368bb4d 850.18 2007-07-01 00:15:00
6a009cf0 86 - Logging may now be enabled with the less confusing
87 MyApp->config->{static}->{logging} = 1;
88
6cc495c4 890.17 2007-05-11 11:00:00
ab02ca0d 90 - Added serve_static_file, to serve a given file as static. (groditi)
d6d29b9b 91
c9dea369 920.16 2007-04-30 15:00:00
c8ee8fd2 93 - Allow all files in directories defined by the config option 'dirs'
94 to be served as static even if the file matches ignore_dirs or
95 ignore_extensions.
96 - Fixed bug where 204 or 304 status codes would result in a 500 error
97 under mod_perl.
c9dea369 98 - Switch to Module::Install.
c8ee8fd2 99
9d557523 1000.15 2006-12-08 22:30:00
101 - Quote metacharacters used in $c->config->{dirs} (Vlad Dan Dascalescu)
bdf5afa1 102 - store Mime::Types object in config hash instead of as classdata
103 - cleanup code a bit
104
792411e6 1050.14 2006-03-24 11:15:00
106 - Unescape the URI path before looking for the file. This fixes
ca9ed283 107 issues with files that have spaces.
792411e6 108
48791b66 1090.13 2005-12-15 10:00:00
110 - Fixed bug in ignore_dirs under win32.
bc5b1283 111 - Doc rewriting
48791b66 112
1130.12 (released only with Catalyst)
d38d0ed6 114 - Made prepare_action play nice with other plugins by not short-
115 circuiting.
116 - Added tmpl to the ignored extensions.
e822b965 117 - Fixed security problem if req->path contained '..'.
d38d0ed6 118
1190.11 2005-11-13 16:25:00
766f4ce4 120 - Removed the code that set the 304 Not Modified header. This caused
121 problems with IE under Apache.
e358be85 122 - Changed 5.50 writing method to pass an IO::File object directly to
5224ce15 123 $c->res->body.
766f4ce4 124 - This version is included with Catalyst 5.50.
5224ce15 125
be327929 1260.10 2005-10-19 17:20:00
2cb3d585 127 - Added tt2 to the list of ignored extensions.
128 - For Catalyst 5.5+, replaced File::Slurp with a buffered read/write
129 process. This will improve memory usage and performance on larger
130 static files.
131 - Removed Apache integration feature. It is slower than serving
132 through Catalyst and as far as I know no one is using it. If you
133 need the best performance, use a separate Location block for static
134 content.
135
df701614 1360.09 2005-10-07 13:40:00
8cc672a2 137 - Added new configuration options to improve security:
138 ignore_extensions - keep certain extensions from being static
139 - This option defaults to tt, html, and xhtml to prevent
140 template files from being accessible.
141 ignore_dirs - keep certain dirs from being static
fa43d6b5 142 - include_path is no longer experimental.
8cc672a2 143 - Added support for hiding log output, depends on Cat 5.50.
144 (Marcus Ramberg)
2de14076 145
e37ad815 1460.08 2005-09-07 18:50:00
147 - Added tests for everything except Apache support.
2268e329 148
1490.07 2005-09-05 21:05:00
150 - POD fixes. (Thomas L. Shinnick)
151
b1d96e3e 1520.06 2005-09-05 15:40:00
153 - Moved initial file check into prepare_action so processing can
154 bypass other plugins.
155 - Added error-checking to static dir regexes.
156 - Cleaned up various code as per Best Practices.
157
d6d29b9b 1580.05 2005-08-26 12:00:00
159 - Added use_apache option to enable the Apache DECLINED
160 support. Default is disabled as it appears Catalyst is
161 faster at serving the files!
162 - Added a check that Apache's DocumentRoot matches Catalyst's
163 root before serving DECLINED.
164 - Preload MIME::Types index during setup() so it's not built on
165 the first request.
166 - Added a note on performance of Apache vs. Catalyst.
167
1680.04 2005-08-22 12:00:00
169 - Fixed bug where static files were searched for on every request
170 even without a file extension.
171 - Fixed bug where files without extensions in defined static dirs
172 were not served with text/plain.
173 - Consolidated the debug log messages.
174
1750.03 2005-08-21 23:50:00
176 - Added config option for include_path to allow for multiple
177 directories with static files. This option should be
178 considered experimental!
179 - Documentation cleanups.
180
1810.02 2005-08-16 18:00:00
182 - Return DECLINED when running under mod_perl to allow Apache to
183 serve the static file. This is not done when any custom MIME
184 types have been specified, however.
185
1860.01 2005-08-11 22:00:00
187 - Initial release.