From 1bd815adbbbb48d486a5519ed2a3d34eefe6a407 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 1 May 2023 11:04:12 +0000 Subject: [PATCH] External Libraries: Update license URL in Text_Diff library. The former URL used to refer to LGPL 2.1 at the time, but does not redirect to its current location. Includes updating the `Algorithm::Diff` Perl module URL. Props jigar-bhanushali, utsav72640. Fixes #58217. git-svn-id: https://develop.svn.wordpress.org/trunk@55700 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/Text/Diff.php | 2 +- src/wp-includes/Text/Diff/Engine/native.php | 4 ++-- src/wp-includes/Text/Diff/Engine/shell.php | 2 +- src/wp-includes/Text/Diff/Engine/string.php | 2 +- src/wp-includes/Text/Diff/Engine/xdiff.php | 2 +- src/wp-includes/Text/Diff/Renderer.php | 2 +- src/wp-includes/Text/Diff/Renderer/inline.php | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/wp-includes/Text/Diff.php b/src/wp-includes/Text/Diff.php index 6f76278c5a..40dba1a4a3 100644 --- a/src/wp-includes/Text/Diff.php +++ b/src/wp-includes/Text/Diff.php @@ -10,7 +10,7 @@ * Copyright 2004-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you did - * not receive this file, see http://opensource.org/licenses/lgpl-license.php. + * not receive this file, see https://opensource.org/license/lgpl-2-1/. * * @package Text_Diff * @author Geoffrey T. Dairiki diff --git a/src/wp-includes/Text/Diff/Engine/native.php b/src/wp-includes/Text/Diff/Engine/native.php index 5824329b7f..e6fa9758a3 100644 --- a/src/wp-includes/Text/Diff/Engine/native.php +++ b/src/wp-includes/Text/Diff/Engine/native.php @@ -6,7 +6,7 @@ * * The algorithm used here is mostly lifted from the perl module * Algorithm::Diff (version 1.06) by Ned Konz, which is available at: - * http://www.perl.com/CPAN/authors/id/N/NE/NEDKONZ/Algorithm-Diff-1.06.zip + * https://cpan.metacpan.org/authors/id/N/NE/NEDKONZ/Algorithm-Diff-1.06.zip * * More ideas are taken from: http://www.ics.uci.edu/~eppstein/161/960229.html * @@ -21,7 +21,7 @@ * Copyright 2004-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you did - * not receive this file, see http://opensource.org/licenses/lgpl-license.php. + * not receive this file, see https://opensource.org/license/lgpl-2-1/. * * @author Geoffrey T. Dairiki * @package Text_Diff diff --git a/src/wp-includes/Text/Diff/Engine/shell.php b/src/wp-includes/Text/Diff/Engine/shell.php index a2ccc70db8..545ac34a6f 100644 --- a/src/wp-includes/Text/Diff/Engine/shell.php +++ b/src/wp-includes/Text/Diff/Engine/shell.php @@ -8,7 +8,7 @@ * Copyright 2007-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you did - * not receive this file, see http://opensource.org/licenses/lgpl-license.php. + * not receive this file, see https://opensource.org/license/lgpl-2-1/. * * @author Milian Wolff * @package Text_Diff diff --git a/src/wp-includes/Text/Diff/Engine/string.php b/src/wp-includes/Text/Diff/Engine/string.php index 76a111158c..74990d6777 100644 --- a/src/wp-includes/Text/Diff/Engine/string.php +++ b/src/wp-includes/Text/Diff/Engine/string.php @@ -14,7 +14,7 @@ * Copyright 2005-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you did - * not receive this file, see http://opensource.org/licenses/lgpl-license.php. + * not receive this file, see https://opensource.org/license/lgpl-2-1/. * * @author Örjan Persson * @package Text_Diff diff --git a/src/wp-includes/Text/Diff/Engine/xdiff.php b/src/wp-includes/Text/Diff/Engine/xdiff.php index 02ce848078..d09307d8d5 100644 --- a/src/wp-includes/Text/Diff/Engine/xdiff.php +++ b/src/wp-includes/Text/Diff/Engine/xdiff.php @@ -8,7 +8,7 @@ * Copyright 2004-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you did - * not receive this file, see http://opensource.org/licenses/lgpl-license.php. + * not receive this file, see https://opensource.org/license/lgpl-2-1/. * * @author Jon Parise * @package Text_Diff diff --git a/src/wp-includes/Text/Diff/Renderer.php b/src/wp-includes/Text/Diff/Renderer.php index 712d985a8e..2417670aef 100644 --- a/src/wp-includes/Text/Diff/Renderer.php +++ b/src/wp-includes/Text/Diff/Renderer.php @@ -8,7 +8,7 @@ * Copyright 2004-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you did - * not receive this file, see http://opensource.org/licenses/lgpl-license.php. + * not receive this file, see https://opensource.org/license/lgpl-2-1/. * * @package Text_Diff */ diff --git a/src/wp-includes/Text/Diff/Renderer/inline.php b/src/wp-includes/Text/Diff/Renderer/inline.php index 392bd57cff..52444f8975 100644 --- a/src/wp-includes/Text/Diff/Renderer/inline.php +++ b/src/wp-includes/Text/Diff/Renderer/inline.php @@ -5,7 +5,7 @@ * Copyright 2004-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you did - * not receive this file, see http://opensource.org/licenses/lgpl-license.php. + * not receive this file, see https://opensource.org/license/lgpl-2-1/. * * @author Ciprian Popovici * @package Text_Diff