Commit Graph

40 Commits

Author SHA1 Message Date
Michal Čihař
63b7f6c0a9 Use hash_equals when comparing IPv6 allow rules
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-02 15:09:29 +02:00
Michal Čihař
58245cb1cc Use hash_equals for comparing username in allow/deny rules
The comparison should happen in constant time to avoid possible leak of
usernames in rules.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-18 09:15:34 +02:00
Michal Čihař
dc25189741 Fix syntax error in older PHP versions
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-11 09:36:56 +02:00
Michal Čihař
4440790902 Make proxy IP parsing aware of multiple proxies
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-11 08:22:32 +02:00
J.M
84f4f1a246 rfe #3542567 Accept IPv6 ranges and IPv6 CIDR notations in $cfg['Servers'][$i]['AllowDeny']['rules'] 2012-12-27 19:18:34 +01:00
Chanaka Indrajith
6971295e96 Renamed PMA_CommonFunctions::getInstance()-> with PMA_Util:: 2012-09-16 14:41:47 +05:30
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Madhura Jayaratne
ec9a8cf997 Coding style improvements 2012-05-01 19:38:04 +05:30
Michal Čihař
397b6fd00e Cleanup spacing after @return 2012-04-27 11:33:26 +02:00
Dieter Adriaenssens
0f772aa173 check if PHPMYADMIN is set 2012-04-14 16:51:26 +02:00
Madhura Jayaratne
4cb5bcd4b5 Improve coding style 2012-03-18 09:53:33 +05:30
Michal Čihař
e56949f160 Use package name PhpMyAdmin
Needed to match phpdoc rules as package name must begin with upper case.
2011-10-25 10:13:17 +02:00
Michal Čihař
6b75d60e91 Document that this is IPv4 only 2011-07-22 09:27:49 +02:00
Michal Čihař
236582fb4f Fix mistakenly broken regexp 2011-07-22 09:25:14 +02:00
Michal Čihař
9405dbb82a Fix spacing after @param 2011-07-22 09:21:55 +02:00
Michal Čihař
25bda8e991 Fix spacing on opening code block 2011-07-22 09:18:02 +02:00
Marc Delisle
79f320e951 remove author names 2010-12-04 06:41:10 -05:00
Michal Čihař
d17fba309c Fix permissions.
Most files were made executable somewhere in ninadsp tree, reverting
this.
2010-08-30 09:53:37 +02:00
ninadsp
e646a2760c Fixed conflict due to upstream merge 2010-07-23 21:59:15 +05:30
Michal Čihař
318dc4b650 Drop @version tag from docblocks. 2010-07-20 13:59:17 +02:00
ninadsp
bed1948d04 testing git setup - no major change made in code yet
only added a few comments
2010-05-23 01:22:01 +05:30
Herman van Rink
e747ae55e9 renamed variables to reflect content, and improved matching code 2009-03-10 13:19:55 +00:00
Michal Čihař
56941e509c Adding @package, second part. 2008-11-24 11:05:40 +00:00
Sebastian Mendel
d138f1f856 cleanup 2007-10-18 09:03:01 +00:00
Sebastian Mendel
374abd5173 fixed/added page level docblock 2007-03-20 10:32:13 +00:00
Sebastian Mendel
817e790762 synced/fixed vim line 2007-03-19 17:55:39 +00:00
Sebastian Mendel
af7691a469 bug #1676033 [core] pow(int,int) causes overflow 2007-03-14 12:47:37 +00:00
Marc Delisle
c165dbe297 checks that the header contains only one IP 2006-12-07 17:57:02 +00:00
Michal Čihař
557962a38d Define headers which to trust in configuration, thanks for help with this to Christian Schmidt, Peytz & Co. 2006-11-18 12:59:44 +00:00
Michal Čihař
3f8663ead7 Trust only listed proxies for IP Allow/Deny. 2006-11-17 09:52:45 +00:00
Sebastian Mendel
44a0f36096 use PMA_getenv() 2006-04-11 14:33:17 +00:00
Sebastian Mendel
5bdcd33740 replaced $_SERVER with getenv() 2006-03-06 11:32:58 +00:00
Sebastian Mendel
6b4f751e41 fixed bug #1409972 PHP 5.1.2 compatibility 2006-01-19 15:39:29 +00:00
Sebastian Mendel
0ae8842353 (not complete) PEAR coding standard 2006-01-17 17:03:02 +00:00
Michal Čihař
b4928863ff Add more useful shortcuts for IP rules (RFE #1022831). 2005-10-09 13:25:02 +00:00
Marc Delisle
7cf7ada8ac patch #1253465, avoid error messages for unset variables in PHP functions that require a parameter passed by reference 2005-08-14 21:34:01 +00:00
Michal Čihař
1aaa89fa54 Little code reorganistaion (RFE #957308), removed some remaining php3 compatibility code in SQL parser. 2004-05-20 16:14:13 +00:00
Alexander M. Turek
37d50c1822 Huge set of optimizations, please test! 2003-11-26 22:52:25 +00:00
Garvin Hicking
f0da471ec3 /libraries cleanup hopefully done. Double-Checked every change, my installation still works. ;)
Will continue working on remaining files tomorrow and hope to make it to the end of the next day.
2003-11-20 16:31:51 +00:00
Michal Čihař
6884f9701a no more support for php3 2003-11-18 15:20:45 +00:00