phpmyadmin/libraries
Michal Čihař b746697397 Correctly handle HTTP status when doing requests
When performing requests, we should not simply return content in case of
failure, the error should be propagated.

This could lead to invalid reporting of Git commit data as we would
tread GitHub rate limiting response as commit information.

Fixes #12713

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-11-28 11:27:22 +01:00
..
config Remove the nopasswd setting 2016-10-17 17:20:54 +02:00
controllers Merge remote-tracking branch 'upstream/master' 2016-11-15 18:08:24 +02:00
dbi Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
di
engines Remove no longer needed odd/even classes 2016-11-18 10:14:25 +01:00
gis Avoid using Util::pow when we do not need big precision 2016-09-27 09:34:32 +02:00
navigation Merge branch 'QA_4_6' 2016-11-25 18:09:26 +05:30
plugins Merge branch 'master-security' 2016-11-25 01:22:59 -05:00
properties Allow to specify name and text directly in OptionsPropertyItem contructor 2016-01-05 15:04:02 +01:00
rte Merge pull request #12563 from tfaller/master 2016-11-15 15:20:14 +01:00
.gitignore
advisor.lib.php Use pow() directly 2016-09-27 09:34:32 +02:00
Advisor.php Merge branch 'QA_4_6' 2016-10-18 13:40:47 +02:00
advisory_rules.txt Fix advisory rule 'Slow launch time' 2016-08-01 12:27:53 +01:00
Bookmark.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
browse_foreigners.lib.php Remove odd CSS class handling from PHP code 2016-08-08 16:38:23 +03:00
central_columns.lib.php Merge remote-tracking branch 'upstream/master' 2016-11-15 18:08:24 +02:00
Charsets.php Improve collation descriptions 2016-04-11 15:33:33 +02:00
check_user_privileges.lib.php Merge branch 'QA_4_6' 2016-05-17 10:18:52 +02:00
common.inc.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
config.default.php Remove the nopasswd setting 2016-10-17 17:20:54 +02:00
Config.php Prepare for 4.6.6-dev 2016-11-25 01:16:37 -05:00
config.values.php
Console.php Remove bookmark library includes 2016-03-09 23:57:09 +11:00
core.lib.php Merge branch 'QA_4_6-security' into master-security 2016-11-08 15:58:47 +01:00
create_addfield.lib.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
database_interface.inc.php Avoid confusing warning when mysql extension is missing 2016-05-23 10:53:13 +02:00
DatabaseInterface.php Merge branch 'QA_4_6' 2016-11-16 09:24:49 +05:30
db_common.inc.php Avoid using mb_strlen for checking whether string is empty 2016-09-16 10:29:21 +02:00
db_designer.lib.php Properly escape strings in MySQL statement values 2016-10-29 10:45:12 +05:30
db_table_exists.inc.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
DbList.php Use secure.php.net for PHP documentation links 2016-10-18 11:13:24 +02:00
DbQbe.php Merge branch 'master-security' 2016-11-25 01:22:59 -05:00
DbSearch.php Merge remote-tracking branch 'upstream/master' 2016-11-15 19:19:17 +02:00
display_change_password.lib.php Fixes #12352 - password strength simulator 2016-08-03 14:36:49 +05:30
display_create_table.lib.php
display_export.lib.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
display_git_revision.lib.php Add rel="noopener noreferrer" to all target="_blank" links 2016-07-12 11:02:53 +02:00
display_import_ajax.lib.php Remove checks for PHP versions we no longer support 2016-01-28 16:08:47 +01:00
display_import.lib.php Merge branch 'QA_4_6' 2016-06-17 13:10:28 +02:00
DisplayResults.php Merge remote-tracking branch 'upstream/master' 2016-11-15 18:08:24 +02:00
Encoding.php Remove line breaks 2016-03-10 20:23:37 +11:00
error_report.lib.php Hardcode connection timeout settings 2016-08-29 11:35:52 +02:00
error.inc.php Use http_response_code to set response code 2016-10-18 09:17:55 +02:00
Error.php Merge branch 'master' into master-security 2016-09-02 14:41:13 +02:00
ErrorHandler.php Merge branch 'QA_4_6-security' into master-security 2016-09-02 14:41:33 +02:00
export.lib.php Merge branch 'master' into master-security 2016-11-10 11:09:32 +01:00
file_listing.lib.php Do not allow symlinks in UploadDir 2016-07-12 12:50:36 +02:00
File.php Merge branch 'QA_4_6-security' into master-security 2016-07-12 12:50:54 +02:00
Font.php Remove /*overload*/ prefix from mb_* calls 2016-01-04 16:35:28 +01:00
Footer.php Merge branch 'QA_4_6' 2016-10-27 17:02:41 +05:30
Header.php Use username for password change strength indicator 2016-11-10 10:46:20 +01:00
import.lib.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
index.lib.php Do not hide indexes under a slider 2016-04-08 22:09:27 +10:00
Index.php Merge remote-tracking branch 'upstream/master' 2016-11-15 18:08:24 +02:00
IndexColumn.php No nested ternary operators 2015-12-02 09:19:33 -05:00
information_schema_relations.lib.php
insert_edit.lib.php Merge remote-tracking branch 'upstream/master' 2016-11-15 18:08:24 +02:00
ip_allow_deny.lib.php Merge branch 'master' into master-security 2016-10-24 13:55:39 +02:00
Language.php Remove code not needed with motranslator 2016-02-24 13:02:55 +01:00
LanguageManager.php Merge branch 'QA_4_6' 2016-11-18 11:01:10 +01:00
Linter.php Correctly calculate string length 2016-08-30 14:48:43 +02:00
ListAbstract.php
ListDatabase.php Avoid using mb_strlen for checking whether string is empty 2016-09-16 10:29:21 +02:00
Logging.php Use PMA_getIp instead of REMOTE_ADDR to get user address 2016-07-11 08:38:16 +02:00
Menu.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
Message.php Merge branch 'master' into master-security 2016-09-16 10:30:28 +02:00
mime.lib.php Remove /*overload*/ prefix from mb_* calls 2016-01-04 16:35:28 +01:00
mult_submits.inc.php Avoid using mb_strlen for checking whether string is empty 2016-09-16 10:29:21 +02:00
mult_submits.lib.php Merge branch 'QA_4_6' 2016-08-04 09:24:16 +05:30
mysql_relations.lib.php
normalization.lib.php Improve addMessage calls 2016-06-16 14:25:33 +02:00
OpenDocument.php Define namespace as constant 2016-09-16 13:21:20 +02:00
operations.lib.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
OutputBuffering.php
parse_analyze.lib.php
Partition.php Properly escape strings in MySQL statement values 2016-10-29 10:45:12 +05:30
PDF.php Merge branch 'QA_4_6' 2016-07-22 16:42:58 +02:00
plugin_interface.lib.php Remove unnecessary call to ksort on empty list 2016-11-13 11:37:50 +05:30
pmd_common.php Merge remote-tracking branch 'origin/pull/12564' into QA_4_6 2016-11-10 10:59:33 +01:00
RecentFavoriteTable.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
relation_cleanup.lib.php Properly escape strings in MySQL statement values 2016-10-29 10:45:12 +05:30
relation.lib.php Merge branch 'QA_4_6' 2016-11-25 18:09:26 +05:30
replication_gui.lib.php Remove unused CSS class 2016-11-16 18:23:14 +02:00
replication.inc.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
Response.php Avoid using mb_strlen for checking whether string is empty 2016-09-16 10:29:21 +02:00
Sanitize.php Merge branch 'QA_4_6' 2016-09-16 09:48:40 +02:00
SavedSearches.php Merge branch 'master' into master-security 2016-11-10 11:09:32 +01:00
Scripts.php Merge branch 'QA_4_6' 2016-08-03 11:37:14 +02:00
select_server.lib.php Add missing token parameter while changing servers 2016-10-24 14:31:04 +05:30
server_common.inc.php Refactored url parmeters generating, Issue #11990 2016-02-22 14:36:41 +05:30
server_common.lib.php
server_privileges.lib.php Refactor intials row to use template 2016-11-28 10:27:25 +05:30
server_status_advisor.lib.php
server_status_monitor.lib.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
server_status_processes.lib.php Merge remote-tracking branch 'upstream/master' 2016-11-15 18:08:24 +02:00
server_status_queries.lib.php Remove odd CSS class logic from PHP file 2016-08-23 14:49:29 +03:00
server_status_variables.lib.php Remove odd CSS class logic from PHP and JS files 2016-08-23 13:46:55 +03:00
server_status.lib.php Remove odd and even class from PHP file 2016-08-22 14:24:27 +03:00
server_user_groups.lib.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
server_users.lib.php Refactored url parmeters generating, Issue #11990 2016-02-22 14:36:41 +05:30
ServerStatusData.php Use URL::getCommon to construct complete URL 2016-06-17 12:58:14 +02:00
session.inc.php Use secure.php.net for PHP documentation links 2016-10-18 11:13:24 +02:00
session.lib.php Merge branch 'QA_4_6' 2016-05-23 15:01:09 +02:00
special_schema_links.lib.php Force relative paths in links 2016-08-24 11:45:40 +02:00
sql_query_form.lib.php Avoid using mb_strlen for checking whether string is empty 2016-09-16 10:29:21 +02:00
sql.lib.php Properly escape strings in MySQL statement values 2016-10-29 10:45:12 +05:30
StorageEngine.php Remove unused CSS class 2016-11-16 15:50:26 +02:00
string.lib.php
stringMb.lib.php We set internal encoding to utf-8, no need to get it 2016-03-08 15:47:44 +01:00
stringNative.lib.php
SubPartition.php
sysinfo.lib.php Use https for outbound links where applicable 2016-07-28 09:41:52 +02:00
SysInfo.php
SysInfoLinux.php Fix numeric errors 2016-09-06 10:04:05 +02:00
SysInfoSunOS.php
SysInfoWINNT.php There is no need to reset() before foreach() 2016-01-05 11:26:34 +01:00
SystemDatabase.php Properly escape strings in MySQL statement values 2016-10-29 10:45:12 +05:30
Table.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
tbl_columns_definition_form.inc.php Move MySQL charsets handling to the Charsets class 2016-04-11 12:55:42 +02:00
tbl_common.inc.php This is an inc file 2016-03-10 19:31:16 +11:00
tbl_info.inc.php Cleanup code for getting table information 2016-09-26 13:44:57 +02:00
tbl_partition_definition.inc.php Using zero value in input's value makes JS block it even if partitions are not being created 2016-11-26 09:14:35 +05:30
Template.php Merge branch 'QA_4_6' 2016-06-20 12:21:48 +02:00
Theme.php Fix variable name 2016-10-11 14:30:32 +02:00
ThemeManager.php Make ThemeManager a singleton instead of storing it in the session 2016-05-11 15:34:25 +02:00
Tracker.php Merge branch 'master' into master-security 2016-11-10 11:09:32 +01:00
tracking.lib.php Merge branch 'master' into master-security 2016-11-10 11:09:32 +01:00
transformations.lib.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
Types.php
TypesMySQL.php JSON data type is not supported in MariaDB 2016-03-28 22:17:48 +11:00
URL.php Avoid using mb_strlen for checking whether string is empty 2016-09-16 10:29:21 +02:00
user_preferences.inc.php Refactor text sanitization and javascript escaping, Issue #11989, #11988 2016-02-22 14:45:19 +05:30
user_preferences.lib.php Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
util.lib.php
Util.php Correctly handle HTTP status when doing requests 2016-11-28 11:27:22 +01:00
vendor_config.php Replace embedded php-gettext library with motranslator 2016-02-24 11:49:43 +01:00
VersionInformation.php Merge branch 'QA_4_6' into QA_4_6-security 2016-09-16 09:49:17 +02:00
zip_extension.lib.php Sanitize filename on SHP import 2016-07-22 11:52:49 +02:00
ZipFile.php Change url to https 2016-07-27 16:25:48 +02:00