aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11802] replace $browser with $user->browserDhruv2013-08-201-1/+1
| | | | PHPBB3-11802
* [ticket/10820] fix if condition to check for IEDhruv2013-06-141-1/+1
| | | | PHPBB3-10820
* [ticket/10820] Add additional check for IE in conditionDhruv2013-06-131-2/+2
| | | | PHPBB3-10820
* [ticket/10820] Fix function docblockDhruv2013-06-121-1/+1
| | | | PHPBB3-10820
* [ticket/10820] Inject IE version in functionDhruv2013-06-121-8/+9
| | | | PHPBB3-10820
* [ticket/10820] fix regexDhruv2013-06-121-1/+9
| | | | | | Extract IE version from user agent string and then compare it with 7 PHPBB3-10820
* [ticket/10820] remove unnecessary parenthesesDhruv2013-06-121-1/+1
| | | | PHPBB3-10820
* [ticket/10820] fix docblockDhruv2013-06-121-1/+1
| | | | PHPBB3-10820
* [ticket/10820] add param and return to functionDhruv2013-06-121-3/+6
| | | | | | | Add param and return in function docblock. Rename function parameter to $user_agent. PHPBB3-10820
* [ticket/10820] simplify regex and escape dotDhruv2013-06-121-1/+1
| | | | PHPBB3-10820
* [ticket/10820] Use singular returnDhruv2013-06-121-1/+1
| | | | PHPBB3-10820
* [ticket/10820] remove unnecessary condition checksDhruv2013-06-121-2/+2
| | | | PHPBB3-10820
* [ticket/10820] add function docblockDhruv2013-06-121-0/+4
| | | | PHPBB3-10820
* [ticket/10820] fix IE check functionDhruv2013-06-121-8/+8
| | | | | | Add phpbb_ prefix to function name and return boolean value. PHPBB3-10820
* [ticket/10820] proper usage of global and local variable browserDhruv2013-06-121-2/+2
| | | | PHPBB3-10820
* [ticket/10820] Image downloader recognize new version of ieriadhchtara2013-06-121-9/+14
| | | | | | | | | | When a user download image attachement using ie8, the file is displayed. However, when he uses ie version greater than 8, the image is download. A changes are made to phpbb/download/file.php to solve the problem. We check now if the ie version is greater or equal to 8 and not only equal to 8 PHPBB3-10820
* [ticket/11144] Add missing {FORUM_NAME} variableGaëtan Muller2013-05-061-1/+1
| | | | | | | The template variable {FORUM_NAME} was missing from the login page of a password protected forum PHPBB3-11144
* [ticket/10633] Stop leaking filename of attachments when thumbnail is requestedAndreas Fischer2012-02-091-1/+1
| | | | | | | | | | | | | | While filenames are chosen at random and there is no correlation between the original filename and the new filesystem filename, there is a correlation between filesystem filename and filesytem filename of thumbnails. Adjust error message to no longer include the physical filename and make it consistent with the error message that is shown when there is no attachment at all. This information was mostly useless for regular users (i.e. non-admins) anyway. PHPBB3-10633
* [ticket/10218] Moving global deregistration, etc. to startup.phpYuriy Rusko2011-06-141-6/+1
| | | | | | | Because startup.php deletes all variables, the constants in database_update are used to preserve settings at the top. PHPBB3-10218
* [ticket/10126] Use binary "and not" instead of binary "xor" in error_reporting.Andreas Fischer2011-05-111-1/+1
| | | | | | Make what we want to achieve clear by using "and not" instead of "xor". PHPBB3-10126
* [ticket/10041] Use send_status_line more in download/file.phpOleg Pudeyev2011-02-231-0/+12
| | | | PHPBB3-10041
* [ticket/10038] Use request_var() in the avatar code path of download/file.phpAndreas Fischer2011-02-121-1/+1
| | | | | | | | | | There is no reason not to use request_var() here because it is available anyway since 3afd2c6948e777fde2f43f00bff1659f2691f4d8. This change especially prevents submitting an array which might then throw an error in one of the string functions substr() or strpos() later on. PHPBB3-10038
* [ticket/9609] Change header() calls setting HTTP status to send_status_line().Andreas Fischer2010-09-111-7/+7
| | | | PHPBB3-9609
* [ticket/9793] Make sure send_status_line() is defined when in avatar mode.Andreas Fischer2010-08-271-0/+1
| | | | | | | | | | | | | When download/file.php is in avatar mode set_modified_headers() can be called, which then calls send_status_line() which is not available because includes/functions.php is not included in avatar mode. We also load includes/functions.php in the bootstrap now to solve this problem. Regression from c1a4cb1d01dc19650219566b60671abc767af662. PHPBB3-9793 PHPBB3-7782
* [ticket/9694] Call error_reporting() in download/file.php when in avatar mode.Andreas Fischer2010-07-011-0/+6
| | | | PHPBB3-9694
* [ticket/9694] Make sure string offset 0 exists to avoid E_NOTICE message.Andreas Fischer2010-07-011-1/+1
| | | | PHPBB3-9694
* [ticket/7782] Send status line using refactored download/file.php logic.Oleg Pudeyev2010-05-161-9/+1
| | | | PHPBB3-7782
* #54245Henry Sudhof2009-11-211-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10282 89ea8834-ac86-4346-8a33-228a782c2dd0
* Apply locale-independent basename() to attachment filenames. New function ↵Meik Sievertsen2009-08-011-1/+1
| | | | | | added: utf8_basename(). (Bug #43335 - Patch by ocean=Yohsuke) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9905 89ea8834-ac86-4346-8a33-228a782c2dd0
* #26145Meik Sievertsen2009-04-171-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9460 89ea8834-ac86-4346-8a33-228a782c2dd0
* Some changes to the SAPI detection. The weird fact that it doesn't work ↵Henry Sudhof2009-04-141-1/+2
| | | | | | without remains. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9448 89ea8834-ac86-4346-8a33-228a782c2dd0
* Flash files do not display anymore after update to flash player 10 (Bug #41315)Meik Sievertsen2009-03-171-9/+19
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9384 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix download count increments for image attachments without corresponding ↵Meik Sievertsen2009-03-161-5/+5
| | | | | | thumbnails. (Bug #42505) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9373 89ea8834-ac86-4346-8a33-228a782c2dd0
* can't they decide on one single thing...Henry Sudhof2009-02-251-2/+5
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9341 89ea8834-ac86-4346-8a33-228a782c2dd0
* #38995Henry Sudhof2008-12-171-0/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9203 89ea8834-ac86-4346-8a33-228a782c2dd0
* Getting ready for IE8 which finally improves security a bit. Let's allow our ↵Henry Sudhof2008-08-281-5/+12
| | | | | | users to benefit from that git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8792 89ea8834-ac86-4346-8a33-228a782c2dd0
* close db connection before delivering file. Also make sure connection can't ↵Meik Sievertsen2008-08-211-0/+4
| | | | | | be closed twice. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8772 89ea8834-ac86-4346-8a33-228a782c2dd0
* Let's try to keep the lid on the jarHenry Sudhof2008-08-131-0/+12
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8745 89ea8834-ac86-4346-8a33-228a782c2dd0
* enable stupid php.ini fallback for readfile (#30325 - fix by bellzebu)Henry Sudhof2008-07-291-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8724 89ea8834-ac86-4346-8a33-228a782c2dd0
* forgot a few thingsHenry Sudhof2008-07-291-12/+11
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8708 89ea8834-ac86-4346-8a33-228a782c2dd0
* Mylek is right - we should do this. Fixes some aspects of file.php, needs ↵Henry Sudhof2008-07-291-74/+85
| | | | | | testing. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8707 89ea8834-ac86-4346-8a33-228a782c2dd0
* removed executable props [Bug #6464]Nils Adermann2008-06-041-0/+0
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8598 89ea8834-ac86-4346-8a33-228a782c2dd0
* add PHPBB_INSTALLED check to file.php tooMeik Sievertsen2008-04-211-0/+6
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8514 89ea8834-ac86-4346-8a33-228a782c2dd0
* Forbidden should have an uppercase FMeik Sievertsen2008-03-231-6/+6
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8459 89ea8834-ac86-4346-8a33-228a782c2dd0
* #s23535Meik Sievertsen2008-03-211-0/+25
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8454 89ea8834-ac86-4346-8a33-228a782c2dd0
* #19955Meik Sievertsen2008-01-291-16/+16
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8348 89ea8834-ac86-4346-8a33-228a782c2dd0
* erm, yes.Henry Sudhof2007-12-201-2/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8282 89ea8834-ac86-4346-8a33-228a782c2dd0
* Hopefully fixes avatar caching for CGI installs.Henry Sudhof2007-12-191-0/+8
| | | | git-svn-id: file:///svn/phpbb/trunk@8281 89ea8834-ac86-4346-8a33-228a782c2dd0
* hrm - let's try this.Henry Sudhof2007-11-171-0/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@8242 89ea8834-ac86-4346-8a33-228a782c2dd0
* Nothing we can do about IE 6, but this should reduce the bandwidth need ↵Henry Sudhof2007-11-161-9/+25
| | | | | | significantly. git-svn-id: file:///svn/phpbb/trunk@8238 89ea8834-ac86-4346-8a33-228a782c2dd0