Skip to content

Commit

Permalink
Re-release of Drupal 7.79. For more information, see https://www.drup…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantheon Automation authored and stovak committed Apr 8, 2021
1 parent faad4fc commit 3d8c291
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.
4 changes: 3 additions & 1 deletion includes/common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5183,7 +5183,9 @@ function drupal_build_js_cache($files) {

// Allow modules to act on the js_cache before writing to disk.
drupal_alter('js_cache', $contents);


// Remove JS source and source mapping urls or these may cause 404 errors.
$contents = preg_replace('/\/\/(#|@)\s(sourceURL|sourceMappingURL)=\s*(\S*?)\s*$/m', '', $contents);
// Prefix filename to prevent blocking by firewalls which reject files
// starting with "ad*".
$filename = 'js_' . drupal_hash_base64($contents) . '.js';
Expand Down
11 changes: 0 additions & 11 deletions includes/common.inc.rej

This file was deleted.

2 changes: 1 addition & 1 deletion includes/menu.inc
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ define('MENU_PREFERRED_LINK', '1cf698d64d1aa4b83907cf6ed55db3a7f8e92c91');
* actually exists. This list of 'masks' is built in menu_rebuild().
*
* @param $parts
* An array of path parts; for the above example,
* An array of path parts; for the above example.
* array('node', '12345', 'edit').
*
* @return
Expand Down
11 changes: 0 additions & 11 deletions includes/menu.inc.rej

This file was deleted.

0 comments on commit 3d8c291

Please sign in to comment.