Skip to content

Commit fa809e0

Browse files
committed
New release 4.6.5.2
1 parent a3cb573 commit fa809e0

File tree

416 files changed

+17425
-14726
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

416 files changed

+17425
-14726
lines changed

ChangeLog

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,181 @@
11
phpMyAdmin - ChangeLog
22
======================
33

4+
4.6.5.2 (2016-12-05)
5+
- issue #12765 Fixed SQL export with newlines
6+
7+
4.6.5.1 (2016-11-25)
8+
- issue #12735 Incorrect parameters to escapeString in Node.php
9+
- issue #12734 Fix PHP error when mbstring is not installed
10+
- issue #12736 Don't force partition count to be specified when creating a new table
11+
12+
4.6.5 (2016-11-24)
13+
- issue Remove potentionally license problematic sRGB profile
14+
- issue #12459 Display read only fields as read only when editing
15+
- issue #12384 Fix expanding of navigation pane when clicking on database
16+
- issue #12430 Impove partitioning support
17+
- issue #12374 Reintroduced simplified PmaAbsoluteUri configuration directive
18+
- issue Always use UTC time in HTTP headers
19+
- issue #12479 Simplified validation of external links
20+
- issue #12483 Fix browsing tables with built in transformations
21+
- issue #12485 Do not show warning about short blowfish_secret if none is set
22+
- issue #12251 Fixed random logouts due to wrong cookie path
23+
- issue #12480 Fixed editing of ENUM/SET/DECIMAL fields structure
24+
- issue #12497 Missing escaping of configuration used in SQL (hide_db and only_db)
25+
- issue #12476 Add error checking in reading advisory rules file
26+
- issue #12477 Add checking missing elements and confirming element types from json_decode
27+
- issue #12251 Automatically save SQL query in browser local storage rather than in cookie
28+
- issue #12292 Unable to edit transformations
29+
- issue #12502 Remove unused paramenter when connecting to MySQLi
30+
- issue #12303 Fix number formatting with different settings of precision in PHP
31+
- issue #12405 Use single quotes in PHP code
32+
- issue #12534 Option for the dropped column is not removed from 'after_field' select, after the column is dropped
33+
- issue #12531 Properly detect DROP DATABASE queries
34+
- issue #12470 Fix possible race condition in setting URL hash
35+
- issue #11924 Remove caching of server information
36+
- issue #11628 Proper parsing of INSERT ... ON DUPLICATE KEY queries
37+
- issue #12545 Proper parsing of CREATE TABLE ... PARTITION queries
38+
- issue #12473 Code can throw unhandled exception
39+
- issue #12550 Do not try to keep alive session even after expiry
40+
- issue #12512 Fixed rendering BBCode links in setup
41+
- issue #12518 Fixed copy of table with generated columns
42+
- issue #12221 Fixed export of table with generated columns
43+
- issue #12320 Copying a user does not copy usergroup
44+
- issue #12272 Adding a new row with default enum goes to no selection when you want to add more then 2 rows
45+
- issue #12487 Drag and drop import prevents file dropping to blob column file selector on the insert tab
46+
- issue #12554 Absence of scrolling makes it impossible to read longer text values in grid editing
47+
- issue #12530 "Edit routine" crashes when the current user is not the definer, even if privileges are adequate
48+
- issue #12300 Export selective tables by-default dumps Events also
49+
- issue #12298 Fixed export of view definitions
50+
- issue #12242 Edit routine detail dialog does not fill "Return length" field in mysql functions
51+
- issue #12575 New index Confirm adds whitespace around the field name
52+
- issue #12382 Bug in zoom search
53+
- issue #12321 Assign LIMIT clause only to syntactically correct queries
54+
- issue #12461 Can't Execute SQL With Sub-Query Due To "LIMIT 0,25" Inserted At Wrong Place
55+
- issue #12511 Clarify documentation on ArbitraryServerRegexp
56+
- issue #12508 Remove duplicate code in SQL escaping
57+
- issue #12475 Cleanup code for getting table information
58+
- issue #12579 phpMyAdmin's export of a Select statment without a FROM clause generates Wrong SQL
59+
- issue #12316 Correct export of complex SELECT statements
60+
- issue #12080 Fixed parsing of subselect queries
61+
- issue #11740 Fixed handling DELETE ... USING queries
62+
- issue #12100 Fixed handling of CASE operator
63+
- issue #12455 Query history stores separate entry for every letter typed
64+
- issue #12327 Create PHP code no longer works
65+
- issue #12179 Fixed bookmarking of query with multiple statements
66+
- issue #12419 Wrong description on GRANT OPTION
67+
- issue #12615 Fixed regexp for matching browser versions
68+
- issue #12569 Avoid showing import errors twice
69+
- issue #12362 prefs_manage.php can leave an orphaned temporary file
70+
- issue #12619 Unable to export csv when using union select
71+
- issue #12625 Broken Edit links in query results of JOIN query
72+
- issue #12634 Drop DB error in import if DB doesn't exist
73+
- issue #12338 Designer reverts to first saved ER after EACH relation create or delete
74+
- issue #12639 'Show trace' in Console generates JS error for functions in query's trace called without any arguments
75+
- issue #12366 Fix user creation with certain MariaDB setups
76+
- issue #12616 Refuse to work with mbstring.func_overload enabled
77+
- issue #12472 Properly report connection without password in setup
78+
- issue #12365 Fix records count for large tables
79+
- issue #12533 Fix records count for complex queries
80+
- issue #12454 Query history not updated in console until page refresh
81+
- issue #12344 Fixed parsing of labels in loop
82+
- issue #12228 Fixed parsing of BEGIN labels
83+
- issue #12637 Fixed editing some timestamp values
84+
- issue #12622 Fixed javascript error in designer
85+
- issue #12334 Missing page indicator or VIEWs
86+
- issue #12610 Export of tables with Timestamp/Datetime/Time columns defined with ON UPDATE clause with precision fails
87+
- issue #12661 Error inserting into pma__history after timeout
88+
- issue #12195 Row_format = fixed not visible
89+
- issue #12665 Cannot add a foreign key - non-indexed fields not listed in InnoDB tables
90+
- issue #12674 Allow for proper MySQL-allowed strings as identifiers
91+
- issue #12651 Allow for partial dates on table insert page
92+
- issue #12681 Fixed designer with tables using special chars
93+
- issue #12652 Fixed visual query builder for foreign keys with more fields
94+
- issue #12257 Improved search page performance
95+
- issue #12322 Avoid selecting default function for foreign keys
96+
- issue #12453 Fixed escaping of SQL parts in some corner cases
97+
- issue #12542 Missing table name in account privileges editor
98+
- issue #12691 Remove ksort call on empty array in PMA_getPlugins function
99+
- issue #12443 Check parameter type before processing
100+
- issue #12299 Avoid generating too long URLs in search
101+
- issue #12361 Fix self SQL injection in table-specific privileges
102+
- issue #12698 Add link to release notes and download on new version notification
103+
- issue #12712 Error when trying to setup replication (fatal error in call to an old PMA_DBI_connect function)
104+
- issue [security] Unsafe generation of $cfg['blowfish_secret'], see PMASA-2016-58
105+
- issue [security] phpMyAdmin's phpinfo functionality is removed, see PMASA-2016-59
106+
- issue [security] AllowRoot and allow/deny rule bypass with specially-crafted username, see PMASA-2016-60
107+
- issue [security] Username matching weaknesses with allow/deny rules, see PMASA-2016-61
108+
- issue [security] Possible to bypass logout timeout, see PMASA-2016-62
109+
- issue [security] Full path disclosure (FPD) weaknesses, see PMASA-2016-63
110+
- issue [security] Multiple XSS weaknesses, see PMASA-2016-64
111+
- issue [security] Multiple denial-of-service (DOS) vulnerabilities, see PMASA-2016-65
112+
- issue [security] Possible to bypass white-list protection for URL redirection, see PMASA-2016-66
113+
- issue [security] BBCode injection to login page, see PMASA-2016-67
114+
- issue [security] Denial-of-service (DOS) vulnerability in table partitioning, see PMASA-2016-68
115+
- issue [security] Multiple SQL injection vulnerabilities, see PMASA-2016-69
116+
- issue [security] Incorrect serialized string parsing, see PMASA-2016-70
117+
- issue [security] CSRF token not stripped from the URL, see PMASA-2016-71
118+
119+
4.6.4 (2016-08-16)
120+
- issue [security] Weaknesses with cookie encryption, see PMASA-2016-29
121+
- issue [security] Improve session cookie code for openid.php and signon.php example files
122+
- issue [security] Full path disclosure in openid.php and signon.php example files
123+
- issue [security] Multiple XSS vulnerabilities, see PMASA-2016-30
124+
- issue [security] Multiple XSS vulnerabilities, see PMASA-2016-31
125+
- issue [security] Unsafe generation of BlowfishSecret (when not supplied by the user)
126+
- issue [security] Referrer leak when phpinfo is enabled
127+
- issue [security] PHP code injection, see PMASA-2016-32
128+
- issue [security] Full path disclosure, see PMASA-2016-33
129+
- issue [security] SQL injection attack, see PMASA-2016-34
130+
- issue [security] Local file exposure through LOAD DATA LOCAL INFILE, see PMASA-2016-35
131+
- issue [security] Local file exposure through symlinks with UploadDir, see PMASA-2016-36
132+
- issue [security] Path traversal with SaveDir and UploadDir, see PMASA-2016-37
133+
- issue [security] Multiple XSS vulnerabilities, see PMASA-2016-38
134+
- issue [security] SQL injection vulnerability as control user, see PMASA-2016-39
135+
- issue [security] SQL injection vulnerability, see PMASA-2016-40
136+
- issue [security] Denial-of-service attack through transformation feature, see PMASA-2016-41
137+
- issue [security] SQL injection vulnerability as control user, see PMASA-2016-42
138+
- issue [security] Verify data before unserializing, see PMASA-2016-43
139+
- issue [security] Use HTTPS for wiki links
140+
- issue Remove Swekey support
141+
- issue [security] SSRF in setup script, see PMASA-2016-44
142+
- issue [security] Denial-of-service attack with $cfg['AllowArbitraryServer'] = true and persistent connections, see PMASA-2016-45
143+
- issue [security] Improve SSL certificate handling
144+
- issue [security] Fix full path disclosure in debugging code
145+
- issue [security] Possible circumvention of IP-based allow/deny rules with IPv6 and proxy server, see PMASA-2016-47
146+
- issue [security] Detect if user is logged in, see PMASA-2016-48
147+
- issue [security] Bypass URL redirection protection, see PMASA-2016-49
148+
- issue [security] Referrer leak, see PMASA-2016-50
149+
- issue [security] Reflected File Download, see PMASA-2016-51
150+
- issue [security] ArbitraryServerRegexp bypass, see PMASA-2016-52
151+
- issue [security] Denial-of-service attack by entering long password, see PMASA-2016-53
152+
- issue [security] Remote code execution vulnerability when running as CGI, see PMASA-2016-054
153+
- issue [security] Administrators could trigger SQL injection attack against users
154+
- issue [security] Denial-of-service attack when PHP uses dbase extension, see PMASA-2016-55
155+
- issue [security] Remove tode execution vulnerability when PHP uses dbase extension, see PMASA-2016-56
156+
- issue [security] Denial-of-service attack by using for loops, see PMASA-2016-46
157+
- issue Include X-Robots-Tag header in responses
158+
- issue Enforce numeric field length when creating table
159+
- issue Fixed invalid Content-Length in some HTTP responses
160+
- issue #12394 Create view should require a view name
161+
- issue #12391 Message with 'Change password successfully' displayed, but does not take effect
162+
- issue Tighten control on PHP sessions and session cookies
163+
- issue #12409 Re-enable overhead on server databases view
164+
- issue #12414 Fixed rendering of Original theme
165+
- issue #12413 Fixed deleting users in non English locales
166+
- issue #12416 Fixed replication status output in Databases listing
167+
- issue #12303 Avoid typecasting to float when not needed
168+
- issue #12425 Duplicate message variable names in messages.inc.php
169+
- issue #12399 Adding index to table shows wrong top navigation
170+
- issue #12424 Fixed password change on MariaDB without auth plugin
171+
- issue #12339 Do not error on unset server port
172+
- issue #12422 Improvements to the original theme
173+
- issue #12395 Do not try to load old transformation plugins
174+
- issue #12423 Fixed replication status in database listing
175+
- issue #12433 Copy table with prefix does not copy the indexes
176+
- issue #12375 Search in database: Window content is not scrolling down when clicking first time on Browse link
177+
- issue #12346 SQL Editor textareas can have their size increased from the top, distorting the page view
178+
4179
4.6.3 (2016-06-23)
5180
- issue #12249 Fixed cookie path on Windows
6181
- issue #12279 Fixed error reporting on connect problems

DCO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ By making a contribution to this project, I certify that:
2727
(e) I am granting this work to this project under the terms of the
2828
GPLv2-or-later.
2929

30-
http://www.gnu.org/licenses/gpl-2.0.html
30+
https://www.gnu.org/licenses/gpl-2.0.html
3131

3232
***
3333
***

README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
phpMyAdmin - Readme
22
===================
33

4-
Version 4.6.3
4+
Version 4.6.5.2
55

66
A web interface for MySQL and MariaDB.
77

@@ -37,7 +37,7 @@ FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
3737
details.
3838

3939
You should have received a copy of the GNU General Public License
40-
along with this program. If not, see <http://www.gnu.org/licenses/>.
40+
along with this program. If not, see <https://www.gnu.org/licenses/>.
4141

4242
Licensing of current contributions
4343
----------------------------------

RELEASE-DATE-4.6.3

Lines changed: 0 additions & 1 deletion
This file was deleted.

RELEASE-DATE-4.6.5.2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Mon Dec 5 22:35:53 UTC 2016

browse_foreigners.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
isset($_REQUEST['foreign_filter'])
4848
? $_REQUEST['foreign_filter']
4949
: '',
50-
isset($foreign_limit) ? $foreign_limit : null
50+
isset($foreign_limit) ? $foreign_limit : null,
51+
true // for getting value in $foreignData['the_total']
5152
);
5253

5354
// HTML output

build.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<arg line="${source_comma_sep}
5656
xml
5757
codesize,design,naming,unusedcode
58-
--exclude test,build,tcpdf,php-gettext,bfShapeFiles,phpseclib,recaptchalib.php,swekey.php,vendor,sql-parser
58+
--exclude test,build,tcpdf,php-gettext,bfShapeFiles,phpseclib,recaptchalib.php,vendor,sql-parser
5959
--reportfile '${basedir}/build/logs/pmd.xml'" />
6060
</exec>
6161
</target>
@@ -71,7 +71,6 @@
7171
--exclude libraries/bfShapeFiles
7272
--exclude libraries/phpseclib
7373
--exclude libraries/plugins/auth/recaptcha/recaptchalib.php
74-
--exclude libraries/plugins/auth/swekey/swekey.php
7574
--exclude libraries/sql-parser
7675
${source}" />
7776
</exec>
@@ -88,7 +87,6 @@
8887
--exclude libraries/bfShapeFiles
8988
--exclude libraries/phpseclib
9089
--exclude libraries/plugins/auth/recaptcha/recaptchalib.php
91-
--exclude libraries/plugins/auth/swekey/swekey.php
9290
--exclude libraries/sql-parser
9391
${source}" />
9492
</exec>
@@ -103,7 +101,7 @@
103101
<target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding third party libraries" depends="phpcs-config">
104102
<exec executable="phpcs">
105103
<arg line="
106-
--ignore=*/php-gettext/*,*/vendor/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/phpseclib/*,*/recaptcha/*,*/swekey/*,*/sql-parser/*
104+
--ignore=*/php-gettext/*,*/vendor/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/phpseclib/*,*/recaptcha/*,*/sql-parser/*
107105
--report=checkstyle
108106
--extensions=php
109107
--report-file='${basedir}/build/logs/checkstyle.xml'

changelog.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
$response = PMA\libraries\Response::getInstance();
1515
$response->disable();
16+
$response->getHeader()->sendHttpHeaders();
1617

1718
$filename = CHANGELOG_FILE;
1819

@@ -154,6 +155,7 @@
154155
var links = document.getElementsByTagName("a");
155156
for(var i = 0; i < links.length; i++) {
156157
links[i].target = "_blank";
158+
links[i].rel = "noopener noreferrer";
157159
}
158160
</script>
159161
</body>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "imscp/phpmyadmin",
33
"description": "iMSCP tools - PhpMyadmin - MySQL administration tool",
4-
"version": "4.6.3.0",
4+
"version": "4.6.5.2",
55
"authors": [
66
{
77
"name": "The phpMyAdmin Team",

config.sample.inc.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/**
1414
* This is needed for cookie based authentication to encrypt password in
15-
* cookie
15+
* cookie. Needs to be 32 chars long.
1616
*/
1717
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
1818

@@ -64,8 +64,6 @@
6464
// $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
6565
// $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
6666
// $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
67-
/* Contrib / Swekey authentication */
68-
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
6967

7068
/**
7169
* End of servers configuration

0 commit comments

Comments
 (0)