aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
Commit message (Collapse)AuthorAgeFilesLines
* do not allow [flash=0,0]... not implemented for images due to the reliance ↵Meik Sievertsen2008-06-071-7/+7
| | | | | | on getimagesize() - as usual both sizes are able to be limited by the maximum/minimum image size configuration options git-svn-id: file:///svn/phpbb/trunk@8614 89ea8834-ac86-4346-8a33-228a782c2dd0
* mergeHenry Sudhof2008-06-031-0/+10
| | | | git-svn-id: file:///svn/phpbb/trunk@8587 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok... i hope i haven't messed too much with the code and everything is still ↵Meik Sievertsen2008-05-291-38/+31
| | | | | | | | | | working. Changes: - Ascraeus now uses constants for the phpbb root path and the php extension. This ensures more security for external applications and modifications (no more overwriting of root path and extension possible through insecure mods and register globals enabled) as well as no more globalizing needed. - A second change implemented here is an additional short-hand-notation for append_sid(). It is allowed to omit the root path and extension now (for example calling append_sid('memberlist')) - in this case the root path and extension get added automatically. The hook is called after these are added. git-svn-id: file:///svn/phpbb/trunk@8572 89ea8834-ac86-4346-8a33-228a782c2dd0
* Merging mime and referer checks into the TrunkHenry Sudhof2008-05-281-2/+54
| | | | git-svn-id: file:///svn/phpbb/trunk@8571 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok... still merge needed... now the fix is spread. :/Meik Sievertsen2008-05-181-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8566 89ea8834-ac86-4346-8a33-228a782c2dd0
* some missing merges...Meik Sievertsen2008-05-041-3/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@8545 89ea8834-ac86-4346-8a33-228a782c2dd0
* merging some changesMeik Sievertsen2008-03-311-1/+16
| | | | git-svn-id: file:///svn/phpbb/trunk@8484 89ea8834-ac86-4346-8a33-228a782c2dd0
* Minor stuff: #20925, #20815Henry Sudhof2008-02-041-0/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@8376 89ea8834-ac86-4346-8a33-228a782c2dd0
* Merging revisions #r8346, #r8347 and #r8348Meik Sievertsen2008-01-291-10/+10
| | | | git-svn-id: file:///svn/phpbb/trunk@8349 89ea8834-ac86-4346-8a33-228a782c2dd0
* Merge revision #r8343Meik Sievertsen2008-01-291-5/+5
| | | | git-svn-id: file:///svn/phpbb/trunk@8344 89ea8834-ac86-4346-8a33-228a782c2dd0
* nit rightfully pickedHenry Sudhof2008-01-281-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8341 89ea8834-ac86-4346-8a33-228a782c2dd0
* merging #20255Henry Sudhof2008-01-281-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8338 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Do not split topic list for topics being promoted to announcements after ↵Meik Sievertsen2008-01-061-2/+6
| | | | | | | | | | | | | been moved to another forum (Bug #18635) - Allow editing usernames within database_update on username cleanup (Bug #18415) - Fixing wrong sync() calls if moving all posts by a member in ACP (Bug #18385) - Check entered imagemagick path for trailing slash (Bug #18205) - Use proper title on index for new/unread posts (Bug #13101) - patch provided by Pyramide - Allow calls to $user->set_cookie() define no cookie time for setting session cookies (Bug #18025) git-svn-id: file:///svn/phpbb/trunk@8310 89ea8834-ac86-4346-8a33-228a782c2dd0
* the end of an era...David M2008-01-061-5/+3
| | | | | | | | | - MySQL < 4.1.3 support is removed - renamed mysql4 to mysql, no need to cause confusion - changed the cfg cacher, reduces file system lookups and include count by two on every page load git-svn-id: file:///svn/phpbb/trunk@8307 89ea8834-ac86-4346-8a33-228a782c2dd0
* oh boy...David M2008-01-031-2/+2
| | | | | | | - Migrate code base to PHP 5.1+ git-svn-id: file:///svn/phpbb/trunk@8295 89ea8834-ac86-4346-8a33-228a782c2dd0
* cross-ci to the headHenry Sudhof2008-01-031-0/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8294 89ea8834-ac86-4346-8a33-228a782c2dd0
* try to add another fix for bansMeik Sievertsen2007-11-041-0/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@8225 89ea8834-ac86-4346-8a33-228a782c2dd0
* further fixesMeik Sievertsen2007-11-031-1/+2
| | | | | | | | | - fix infinite loop on checking ban for those not having ever visited the page (or removed all session cookies) - avatar width/height switched in language files - fix windows switching to background on IE7 (smlies window for example) git-svn-id: file:///svn/phpbb/trunk@8224 89ea8834-ac86-4346-8a33-228a782c2dd0
* make the ban check perform a bit better :/Meik Sievertsen2007-10-181-9/+20
| | | | git-svn-id: file:///svn/phpbb/trunk@8202 89ea8834-ac86-4346-8a33-228a782c2dd0
* use previous information gathered for obtaining the ban type (bug #14674)Meik Sievertsen2007-10-091-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8157 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixed database updaterMeik Sievertsen2007-10-041-3/+11
| | | | | | | | - fixed hook function call in database updater - fixed bot agent detection (we used a wildcard within the w3c-agent, therefore we should really support this. ;)) git-svn-id: file:///svn/phpbb/trunk@8131 89ea8834-ac86-4346-8a33-228a782c2dd0
* Ok, here comes a big one. Poor updater. Also requires testing.Henry Sudhof2007-10-031-0/+18
| | | | | | | | | | | | #i91 #i92 #i93 #i94 #i95 #i96 git-svn-id: file:///svn/phpbb/trunk@8120 89ea8834-ac86-4346-8a33-228a782c2dd0
* new hook system (do not get it confused with events or plugins please)Meik Sievertsen2007-09-221-0/+4
| | | | | | | - introducing two new hookable functions too git-svn-id: file:///svn/phpbb/trunk@8100 89ea8834-ac86-4346-8a33-228a782c2dd0
* #i61Meik Sievertsen2007-09-221-2/+12
| | | | git-svn-id: file:///svn/phpbb/trunk@8098 89ea8834-ac86-4346-8a33-228a782c2dd0
* put expressions for ip validation into our get_preg_ function.Meik Sievertsen2007-09-211-7/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8094 89ea8834-ac86-4346-8a33-228a782c2dd0
* -#14438Henry Sudhof2007-09-131-10/+44
| | | | | | | | -Refactor the confirm table cleanup -Add confirm table cleanup to session garbage collection. Might require own pseudo-cron. git-svn-id: file:///svn/phpbb/trunk@8089 89ea8834-ac86-4346-8a33-228a782c2dd0
* fixing some bugsMeik Sievertsen2007-09-021-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8075 89ea8834-ac86-4346-8a33-228a782c2dd0
* very tiny adjustements...Meik Sievertsen2007-08-191-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8049 89ea8834-ac86-4346-8a33-228a782c2dd0
* two fixesMeik Sievertsen2007-08-061-3/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@8011 89ea8834-ac86-4346-8a33-228a782c2dd0
* forgot to change this call.Meik Sievertsen2007-07-281-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7971 89ea8834-ac86-4346-8a33-228a782c2dd0
* *** empty log message ***Meik Sievertsen2007-07-281-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7966 89ea8834-ac86-4346-8a33-228a782c2dd0
* err, forgot to commitMeik Sievertsen2007-07-271-6/+6
| | | | git-svn-id: file:///svn/phpbb/trunk@7961 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix session problems for those using mysql in strict mode and users having a ↵Meik Sievertsen2007-07-271-1/+1
| | | | | | browser agent string > 150 characters. git-svn-id: file:///svn/phpbb/trunk@7956 89ea8834-ac86-4346-8a33-228a782c2dd0
* the old code was correct - we also want to allow autologin keys working on ↵Meik Sievertsen2007-07-251-11/+0
| | | | | | more than one PC/browser. ;) git-svn-id: file:///svn/phpbb/trunk@7948 89ea8834-ac86-4346-8a33-228a782c2dd0
* please have a second look at the change within session.php - we had a few ↵Meik Sievertsen2007-07-251-1/+12
| | | | | | "doubled" keys within the db... git-svn-id: file:///svn/phpbb/trunk@7946 89ea8834-ac86-4346-8a33-228a782c2dd0
* clean upDavid M2007-07-211-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@7914 89ea8834-ac86-4346-8a33-228a782c2dd0
* hehehe... :(David M2007-07-201-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7911 89ea8834-ac86-4346-8a33-228a782c2dd0
* be more leanDavid M2007-07-201-7/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@7910 89ea8834-ac86-4346-8a33-228a782c2dd0
* remove T_THEME_DATA completely... now the css data is able to be fetched for ↵Meik Sievertsen2007-07-171-2/+0
| | | | | | banned users too. Gives us a good chunk of memory back. git-svn-id: file:///svn/phpbb/trunk@7901 89ea8834-ac86-4346-8a33-228a782c2dd0
* sir, put your hands up and step away from the extra integersDavid M2007-07-161-0/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@7897 89ea8834-ac86-4346-8a33-228a782c2dd0
* - search result extract shouldn't end in the middle of a multibyte character ↵Nils Adermann2007-07-151-26/+32
| | | | | | | | | | | | | [Bug #11863] - missing localisation for an imageset shouldn't create lots of "imageset refreshed" log messages [Bug #12027] - explain that themes which need parsing cannot be stored on the filesystem [Bug #11134] - normalize usernames (we really need to make sure we normalize everything) - improved utf8_clean_string, more complete list of homographs and NFKC normalization, also the resulting string is now trimmed - corrected searching subforums explanation [Bug #12209] git-svn-id: file:///svn/phpbb/trunk@7890 89ea8834-ac86-4346-8a33-228a782c2dd0
* #13331Henry Sudhof2007-07-131-10/+12
| | | | | | | | #13329 Adding more checks - although it is really redundant by now. We can't guard against variable misuse. git-svn-id: file:///svn/phpbb/trunk@7879 89ea8834-ac86-4346-8a33-228a782c2dd0
* some more fixesMeik Sievertsen2007-07-121-3/+9
| | | | git-svn-id: file:///svn/phpbb/trunk@7875 89ea8834-ac86-4346-8a33-228a782c2dd0
* some fixes here and thereMeik Sievertsen2007-07-101-1/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@7860 89ea8834-ac86-4346-8a33-228a782c2dd0
* #12705David M2007-07-061-0/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7838 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixing some very very nasty opera bugs by changing the clearing method we use.Meik Sievertsen2007-06-291-4/+4
| | | | | | | - also properly apply preg_quote to some strings. git-svn-id: file:///svn/phpbb/trunk@7808 89ea8834-ac86-4346-8a33-228a782c2dd0
* fixing some bugsMeik Sievertsen2007-06-281-2/+11
| | | | git-svn-id: file:///svn/phpbb/trunk@7805 89ea8834-ac86-4346-8a33-228a782c2dd0
* #12771Henry Sudhof2007-06-271-19/+22
| | | | git-svn-id: file:///svn/phpbb/trunk@7801 89ea8834-ac86-4346-8a33-228a782c2dd0
* Maybe we shouldn't trust the language settings in the db so much.Henry Sudhof2007-06-241-3/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@7790 89ea8834-ac86-4346-8a33-228a782c2dd0
* #12577Henry Sudhof2007-06-201-1/+3
| | | | | | | Don't allow users into bot mode to end the illusion of being able to log in as googlebot while keeping privileges (that really wasn't possible). git-svn-id: file:///svn/phpbb/trunk@7785 89ea8834-ac86-4346-8a33-228a782c2dd0