]> git.pld-linux.org Git - packages/php.git/blobdiff - php-pldlogo.patch
- up to 7.4.4; fixes CVE-2020-7066, CVE-2020-7064, CVE-2020-7065)
[packages/php.git] / php-pldlogo.patch
index a43cc08d77cdae4b49eff7a7b0bb3842ac4213ac..60c7aa2d1f7c9d69c4d6180bb367d662a049a37e 100644 (file)
@@ -1,24 +1,26 @@
---- php-5.5.0alpha1/ext/standard/info.c~       2012-11-13 22:00:16.000000000 +0200
-+++ php-5.5.0alpha1/ext/standard/info.c        2012-11-18 23:37:48.607735302 +0200
-@@ -794,6 +794,18 @@
-                       zend_html_puts(zend_version, strlen(zend_version) TSRMLS_CC);
+--- php-7.0/ext/standard/info.c~       2015-05-21 17:57:06.000000000 +0300
++++ php-7.0/ext/standard/info.c        2015-05-21 22:56:10.367595637 +0300
+@@ -651,6 +651,20 @@
+                       php_info_print_table_row(2, "PHP Version", PHP_VERSION);
                }
                php_info_print_box_end();
++
 +              /* PLD Linux */
 +              php_info_print_box_start(0);
 +              if (!sapi_module.phpinfo_as_text) {
-+                      php_info_print("<a href=\"http://www.pld-linux.org/\"><img src=\"");
++                      php_info_print("<a href=\"https://www.pld-linux.org/\"><img src=\"");
 +                      php_info_print(PLD_LOGO_DATA_URI "\" border=\"0\" align=\"right\" alt=\"PLD Linux logo\"></a>\n");
 +              }
 +              php_info_print("This server is using PLD Linux.");
 +              if (!sapi_module.phpinfo_as_text)
-+                      php_info_print("<br />More information at <a href=\"http://www.pld-linux.org/\">http://www.pld-linux.org/</a>.<br />\n");
++                      php_info_print("<br />More information at <a href=\"https://www.pld-linux.org/\">https://www.pld-linux.org/</a>.<br />\n");
 +              else
-+                      php_info_print("\nMore information at http://www.pld-linux.org/.\n");
++                      php_info_print("\nMore information at https://www.pld-linux.org/.\n");
 +              php_info_print_box_end();
-               efree(php_uname);
-       }
++
+               php_info_print_table_start();
+               php_info_print_table_row(2, "System", php_uname->val);
+               php_info_print_table_row(2, "Build Date", __DATE__ " " __TIME__);
 --- php-5.6.0beta1/ext/standard/info.h~        2014-04-10 08:11:48.000000000 +0300
 +++ php-5.6.0beta1/ext/standard/info.h 2014-04-21 21:37:12.184288611 +0300
 @@ -54,6 +54,7 @@
This page took 0.208258 seconds and 4 git commands to generate.