67 Commits

Author SHA1 Message Date
moodler
d45bd055d7 Parameters fix for files.
This allows

   http://example.com/file.php/1/somefile.swf?a=xxx&b=xxxx

Thanks to Bernard Boucher!
2004-05-01 03:33:10 +00:00
moodler
e5890e7160 file.php now calculates content-length correctly for filtered text and HTML files.
Bug 1240
2004-04-26 03:41:45 +00:00
moodler
66e5f959e9 Can now handle a $CFG->filelifetime to determine cacheability of files 2004-04-01 02:32:04 +00:00
moodler
a4557331c9 Some security fixes with directory listing 2004-03-16 07:20:00 +00:00
moodler
3cf4ab978b Added an option on the filters page to control whether uploaded
files are parsed by filters.    bug 1128
2004-03-11 02:14:15 +00:00
moodler
b7a3d3b24c Filter text files as well 2004-03-09 06:44:27 +00:00
moodler
f05070115c If the uploaded file is HTML, then put it through the filters 2004-03-09 06:28:01 +00:00
moodler
ae67d9cd40 Decode pathinfo in case it has encoded spaces etc in it 2003-11-27 17:23:36 +00:00
moodler
dcde9f020a Displayed time formats are now stored in lang files
(see the new strftime* strings) so they can be customised per language
2003-01-15 10:55:54 +00:00
moodler
9277dbd42d Bummer ... I introduced a new bug in 1.0.8.1 with pathinfo. Fixed. 2003-01-15 05:32:14 +00:00
moodler
6ed3da1da4 Cleaned up file argument processing a bit 2003-01-12 06:53:25 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
martin
55b8ac3107 Better error message when invalid arguments are supplied. 2002-09-05 11:56:20 +00:00
martin
5be2f47cf4 Added Content-disposition header to help some browsers suggest the right
filename when saving pictures and files.
2002-09-02 09:06:43 +00:00
martin
3f8247c2ea Changes to use a new configuration variable: CFG->slasharguments
If true, then display of user pictures or filenames will use the
method of providing arguments as "slash" arguments - this is much
better for caching, proxies, search engines etc.  Unfortunately
it doesn't seem to work on some PHP installations.

If false (the default), then a more compatible method is used
(ie usual way of passing parameters to scripts)
2002-08-26 09:48:00 +00:00
martin
21ddaf605c Several changes related to the front page, so that it now works OK. 2001-11-25 15:48:24 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00