[CORE][ACTION] Removed getfile action. Superseded by attachment/*/download, which additionally uses a file hash as oposed to a filename.
Additionally, added etag and last modified HTTP headers to attachments, to more effectively take advantage of caching
This commit is contained in:
committed by
Diogo Cordeiro
parent
aa5c6bbf08
commit
7643f3cf7b
@@ -802,10 +802,6 @@ class Router
|
||||
array('action' => 'plugindisable'),
|
||||
array('plugin' => '[A-Za-z0-9_]+'));
|
||||
|
||||
$m->connect('getfile/:filename',
|
||||
array('action' => 'getfile'),
|
||||
array('filename' => '[A-Za-z0-9._-]+'));
|
||||
|
||||
// Common people-tag stuff
|
||||
|
||||
$m->connect('peopletag/:tag', array('action' => 'peopletag',
|
||||
|
Reference in New Issue
Block a user