Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

Commit 7690877

Browse files
committed
SUPPORT-682, security updates
1 parent 5f466e8 commit 7690877

File tree

252 files changed

+3670
-795
lines changed

Some content is hidden

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

252 files changed

+3670
-795
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Drupal editor configuration normalization
2+
# @see http://editorconfig.org/
3+
4+
# This is the top-most .editorconfig file; do not search in parent directories.
5+
root = true
6+
7+
# All files.
8+
[*]
9+
end_of_line = LF
10+
indent_style = space
11+
indent_size = 2
12+
charset = utf-8
13+
trim_trailing_whitespace = true
14+
insert_final_newline = true

CHANGELOG.txt

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,81 @@
11

2+
Drupal 7.50, 2016-07-07
3+
-----------------------
4+
- Added a new "administer fields" permission for trusted users, which is
5+
required in addition to other permissions to use the field UI
6+
(https://www.drupal.org/node/2483307).
7+
- Added clickjacking protection to Drupal core by setting the X-Frame-Options
8+
header to SAMEORIGIN by default (https://www.drupal.org/node/2735873).
9+
- Added support for full UTF-8 (emojis, Asian symbols, mathematical symbols) on
10+
MySQL and other database drivers when the site and database are configured to
11+
allow it (https://www.drupal.org/node/2761183).
12+
- Improved performance by avoiding a re-scan of directories when a file is
13+
missing; instead, trigger a PHP warning (minor API change:
14+
https://www.drupal.org/node/2581445).
15+
- Made it possible to use any PHP callable in Ajax form callbacks, form API
16+
form-building functions, and form API wrapper callbacks (API addition:
17+
https://www.drupal.org/node/2761169).
18+
- Fixed that following a password reset link while logged in leaves users unable
19+
to change their password (minor user interface change:
20+
https://www.drupal.org/node/2759023).
21+
- Implemented various fixes for automated test failures on PHP 5.4+ and PHP 7.
22+
Drupal core automated tests now pass in these environments.
23+
- Improved support for PHP 7 by fixing various problems.
24+
- Fixed various bugs with PHP 5.5+ imagerotate(), including when incorrect
25+
color indices are passed in.
26+
- Fixed a regression introduced in Drupal 7.43 that allowed files uploaded by
27+
anonymous users to be lost after form validation errors, and that also caused
28+
regressions with certain contributed modules.
29+
- Fixed a regression introduced in Drupal 7.36 which caused the default value
30+
of hidden textarea fields to be ignored.
31+
- Fixed robots.txt to allow search engines to access CSS, JavaScript and image
32+
files.
33+
- Changed wording on the Update Manager settings page to clarify that the
34+
option to check for disabled module updates also applies to uninstalled
35+
modules (administrative-facing translatable string change).
36+
- Changed the help text when editing menu links and configuring URL redirect
37+
actions so that it does not reference "Drupal" or the drupal.org website
38+
(administrative-facing translatable string change).
39+
- Fixed the locale safety check that is used to ensure that translations are
40+
safe to allow for tokens in the href/src attributes of translated strings.
41+
- Fixed that URL generation only works on port 80 when using domain based
42+
language negotation.
43+
- Made method="get" forms work inside the administrative overlay. The fix adds
44+
a new hidden field to these forms when they appear inside the overlay (minor
45+
data structure change).
46+
- Increased maxlength of menu link title input fields in the node form and
47+
menu link form from 128 to 255 characters.
48+
- Removed meaningless post-check=0 and pre-check=0 cache control headers from
49+
Drupal HTTP responses.
50+
- Added a .editorconfig file to auto-configure editors that support it.
51+
- Added --directory option to run-tests.sh for easier test discovery of all
52+
tests within a project.
53+
- Made run-tests.sh exit with a failure code when there are test fails or
54+
problems running the script.
55+
- Fixed that cookies from previous tests are still present when a new test
56+
starts in DrupalWebTestCase.
57+
- Improved performance of queries on the {authmap} database table.
58+
- Fixed handling of missing files and functions inside the registry.
59+
- Fixed Ajax handling for tableselect form elements that use checkboxes.
60+
- Fixed a bug which caused ip_address() to return nothing when the client IP
61+
address and proxy IP address are the same.
62+
- Added a new option to format_xml_elements() to allow for already encoded
63+
values.
64+
- Changed the {history} table's node ID field to be an unsigned integer, to
65+
match the same field in the {node} table and to prevent errors with very
66+
large node IDs.
67+
- Added an explicit page callback to the "admin/people/create" menu item in the
68+
User module (minor data structure change). Previously this automatically
69+
inherited the page callback from the parent "admin/people" menu item, which
70+
broke contributed modules that override the "admin/people" page.
71+
- Numerous small bug fixes.
72+
- Numerous API documentation improvements.
73+
- Additional automated test coverage.
74+
75+
Drupal 7.44, 2016-06-15
76+
-----------------------
77+
- Fixed security issues (privilege escalation). See SA-CORE-2016-002.
78+
279
Drupal 7.43, 2016-02-24
380
-----------------------
481
- Fixed security issues (multiple vulnerabilities). See SA-CORE-2016-001.

MAINTAINERS.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ The branch maintainers for Drupal 7 are:
1212

1313
- Dries Buytaert 'dries' https://www.drupal.org/u/dries
1414
- Angela Byron 'webchick' https://www.drupal.org/u/webchick
15+
- Fabian Franz 'Fabianx' https://www.drupal.org/u/fabianx
1516
- David Rothstein 'David_Rothstein' https://www.drupal.org/u/david_rothstein
17+
- Stefan Ruijsenaars 'stefan.r' https://www.drupal.org/u/stefanr-0
1618

1719

1820
Component maintainers

includes/ajax.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ function ajax_form_callback() {
394394
if (!empty($form_state['triggering_element'])) {
395395
$callback = $form_state['triggering_element']['#ajax']['callback'];
396396
}
397-
if (!empty($callback) && function_exists($callback)) {
397+
if (!empty($callback) && is_callable($callback)) {
398398
$result = $callback($form, $form_state);
399399

400400
if (!(is_array($result) && isset($result['#type']) && $result['#type'] == 'ajax')) {

0 commit comments

Comments
 (0)