summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-php
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-01-01 23:19:16 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2015-01-08 12:04:27 +0100
commit1601beb5a5867b0cf5cc8b54f3be31c607ef40a4 (patch)
tree9f25887d8dc3b893f3ff5f1f6f4bf352afc97930 /meta-webserver/recipes-php
parent84f085314e2c46cb58e0ee7905ecbf646c545556 (diff)
downloadmeta-openembedded-1601beb5a5867b0cf5cc8b54f3be31c607ef40a4.tar.gz
phpmyadmin: update to 4.3.4
Drop patches merged upstream. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta-webserver/recipes-php')
-rw-r--r--meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-Bug-4544-additional-fix-for-4.2.x.patch29
-rw-r--r--meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-bug-4504-security-Self-XSS-in-query-charts.patch29
-rw-r--r--meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-bug-4505-security-XSS-in-view-operations-page.patch43
-rw-r--r--meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.3.4.bb (renamed from meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb)7
4 files changed, 2 insertions, 106 deletions
diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-Bug-4544-additional-fix-for-4.2.x.patch b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-Bug-4544-additional-fix-for-4.2.x.patch
deleted file mode 100644
index e23f94b73..000000000
--- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-Bug-4544-additional-fix-for-4.2.x.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 304fb2b645b36a39e03b954fdbd567173ebe6448 Mon Sep 17 00:00:00 2001
2From: Marc Delisle <marc@infomarc.info>
3Date: Wed, 1 Oct 2014 08:09:12 -0400
4Subject: [PATCH] Bug 4544: additional fix for 4.2.x
5
6Upstream-Status: Backport
7
8Signed-off-by: Marc Delisle <marc@infomarc.info>
9---
10 libraries/TableSearch.class.php | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13diff --git a/libraries/TableSearch.class.php b/libraries/TableSearch.class.php
14index a0b3fa4..b7eb42f 100644
15--- a/libraries/TableSearch.class.php
16+++ b/libraries/TableSearch.class.php
17@@ -992,7 +992,8 @@ EOT;
18 $html_output .= '<td>' . $properties['collation'] . '</td>';
19 $html_output .= '<td>' . $properties['func'] . '</td>';
20 // here, the data-type attribute is needed for a date/time picker
21- $html_output .= '<td data-type="' . $properties['type'] . '"'
22+ $html_output .= '<td data-type="'
23+ . htmlspecialchars($properties['type']) . '"'
24 . '>' . $properties['value'] . '</td>';
25 $html_output .= '</tr>';
26 //Displays hidden fields
27--
281.7.10.4
29
diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-bug-4504-security-Self-XSS-in-query-charts.patch b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-bug-4504-security-Self-XSS-in-query-charts.patch
deleted file mode 100644
index 27eac7762..000000000
--- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-bug-4504-security-Self-XSS-in-query-charts.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 90ddeecf60fc029608b972e490b735f3a65ed0cb Mon Sep 17 00:00:00 2001
2From: Madhura Jayaratne <madhura.cj@gmail.com>
3Date: Sun, 17 Aug 2014 08:52:05 -0400
4Subject: [PATCH] bug #4504 [security] Self-XSS in query charts
5
6Upstream-status: Backport
7
8Signed-off-by: Marc Delisle <marc@infomarc.info>
9---
10 js/tbl_chart.js | 2 +-
11 2 files changed, 2 insertions(+), 1 deletion(-)
12
13 4.2.7.0 (2014-07-31)
14diff --git a/js/tbl_chart.js b/js/tbl_chart.js
15index 943d4ae..04c9c40 100644
16--- a/js/tbl_chart.js
17+++ b/js/tbl_chart.js
18@@ -47,7 +47,7 @@ function PMA_queryChart(data, columnNames, settings) {
19 },
20 axes : {
21 xaxis : {
22- label : settings.xaxisLabel
23+ label : escapeHtml(settings.xaxisLabel)
24 },
25 yaxis : {
26 label : settings.yaxisLabel
27--
281.7.10.4
29
diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-bug-4505-security-XSS-in-view-operations-page.patch b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-bug-4505-security-XSS-in-view-operations-page.patch
deleted file mode 100644
index 164a072ef..000000000
--- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-bug-4505-security-XSS-in-view-operations-page.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From 0cd293f5e13aa245e4a57b8d373597cc0e421b6f Mon Sep 17 00:00:00 2001
2From: Madhura Jayaratne <madhura.cj@gmail.com>
3Date: Sun, 17 Aug 2014 08:41:57 -0400
4Subject: [PATCH] bug #4505 [security] XSS in view operations page
5
6Upstream-Status: Backport
7
8Signed-off-by: Marc Delisle <marc@infomarc.info>
9---
10 ChangeLog | 3 +++
11 js/functions.js | 2 +-
12 2 files changed, 4 insertions(+), 1 deletion(-)
13
14diff --git a/ChangeLog b/ChangeLog
15index 7afac1a..cec9d77 100644
16--- a/ChangeLog
17+++ b/ChangeLog
18@@ -1,6 +1,9 @@
19 phpMyAdmin - ChangeLog
20 ======================
21
22+4.2.7.1 (2014-08-17)
23+- bug #4505 [security] XSS in view operations page
24+
25 4.2.7.0 (2014-07-31)
26 - bug Broken links on home page
27 - bug #4494 Overlap in navigation panel
28diff --git a/js/functions.js b/js/functions.js
29index 09bfeda..a970a81 100644
30--- a/js/functions.js
31+++ b/js/functions.js
32@@ -3585,7 +3585,7 @@ AJAX.registerOnload('functions.js', function () {
33 var question = PMA_messages.strDropTableStrongWarning + ' ';
34 question += $.sprintf(
35 PMA_messages.strDoYouReally,
36- 'DROP VIEW ' + PMA_commonParams.get('table')
37+ 'DROP VIEW ' + escapeHtml(PMA_commonParams.get('table'))
38 );
39
40 $(this).PMA_confirm(question, $(this).attr('href'), function (url) {
41--
421.7.10.4
43
diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.3.4.bb
index 7cc3604c8..76068e2cf 100644
--- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb
+++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.3.4.bb
@@ -6,13 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a \
6 file://libraries/tcpdf/LICENSE.TXT;md5=5c87b66a5358ebcc495b03e0afcd342c" 6 file://libraries/tcpdf/LICENSE.TXT;md5=5c87b66a5358ebcc495b03e0afcd342c"
7 7
8SRC_URI = "${SOURCEFORGE_MIRROR}/phpmyadmin/phpMyAdmin/${PV}/phpMyAdmin-${PV}-all-languages.tar.xz \ 8SRC_URI = "${SOURCEFORGE_MIRROR}/phpmyadmin/phpMyAdmin/${PV}/phpMyAdmin-${PV}-all-languages.tar.xz \
9 file://0001-bug-4504-security-Self-XSS-in-query-charts.patch \
10 file://0001-bug-4505-security-XSS-in-view-operations-page.patch \
11 file://0001-Bug-4544-additional-fix-for-4.2.x.patch \
12 file://apache.conf" 9 file://apache.conf"
13 10
14SRC_URI[md5sum] = "0dcd755450dac819f33502590c88ad29" 11SRC_URI[md5sum] = "f811243e241ee81defb97e014ca713ef"
15SRC_URI[sha256sum] = "5d101dd88a99a869bc0c684a7f687cf290abc4bf306daac73337cbde2d7743e4" 12SRC_URI[sha256sum] = "91258e07e04e25c5e49284b194ebff8ffa807ad38832fbe802cc6af3f7cb96d3"
16 13
17S = "${WORKDIR}/phpMyAdmin-${PV}-all-languages" 14S = "${WORKDIR}/phpMyAdmin-${PV}-all-languages"
18 15