Commit Graph

15 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
d243f7ccd6 Enable strict mode in libraries files
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-16 03:20:45 -03:00
Maurício Meneghini Fauth
8f943ae1c0 Move classes to PhpMyAdmin namespace
- Move Sanitize to PhpMyAdmin namespace
- Move SavedSearches to PhpMyAdmin namespace
- Move Scripts to PhpMyAdmin namespace
- Move ServerStatusData to PhpMyAdmin namespace
- Move Sql to PhpMyAdmin namespace
- Move StorageEngine to PhpMyAdmin namespace
- Move SubPartition to PhpMyAdmin namespace
- Move SysInfoLinux to PhpMyAdmin namespace
- Move SysInfoSunOS to PhpMyAdmin namespace
- Move SysInfoWINNT to PhpMyAdmin namespace
- Move SysInfo to PhpMyAdmin namespace
- Move SystemDatabase to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-07 01:46:08 -03:00
Michal Čihař
978538dce8 Use http_response_code to set response code
Fixes #12646

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-18 09:17:55 +02:00
Michal Čihař
353aadbafb Return HTTP 500 on fatal error
This makes it clear that something is broken.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-27 13:22:30 +02:00
Durgesh
6650f7b07d Refactor text sanitization and javascript escaping, Issue #11989, #11988
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:45:19 +05:30
Michal Čihař
b485c6105c Remove blank lines from the end of PHP files (causing extra output)
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-24 10:57:21 +01:00
Michal Čihař
d34f8d5182 Disable response wrapper in fatal error path
There might be some critical pieces (eg. json, pcre or session) missing
and there is no way to make Response class working at this point.

Fixes #3981
2013-06-11 08:57:49 +02:00
Dieter Adriaenssens
0090489bab use require in case of unconditional including 2012-08-30 17:37:19 +02:00
Marc Delisle
317fd70397 Fix fatal error when running phpunit 2012-06-17 09:06:32 -04:00
Rouslan Placella
d9bedbd75e Finished integrating the PMA_Footer class 2012-06-11 14:06:03 +01:00
Michal Čihař
16b5268012 Do not emit headers when running testsuite 2012-04-27 10:25:04 +02:00
Jo Michael
653f086815 Replaced xml:lang attributes by lang for HTML5 2012-03-18 14:46:59 +01:00
Jo Michael
af0e6c71e7 Use HTML5 DOCTYPE along with new charset meta-tag 2012-03-16 22:54:32 +01:00
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ř
aa6fec0532 Remove error.php
Redirecting to other script introduces possibility of inject custom
messages to it. Though there is no clear security issue in this, it
might confuse users and mistake them to go to external site as it allows
to include links.
2010-12-07 12:24:21 +01:00