Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions htdocs/class/libraries/composer.dist.lock
Original file line number Diff line number Diff line change
Expand Up @@ -515,16 +515,16 @@
},
{
"name": "xoops/xmf",
"version": "V1.2.6",
"version": "V1.2.7",
"source": {
"type": "git",
"url": "https://github.com/XOOPS/xmf.git",
"reference": "e8a34280e4e9c851b09af3e46a3d8157f0caddf0"
"reference": "243773f553b43f5477ebf1960e313caebb2d4ca5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/XOOPS/xmf/zipball/e8a34280e4e9c851b09af3e46a3d8157f0caddf0",
"reference": "e8a34280e4e9c851b09af3e46a3d8157f0caddf0",
"url": "https://api.github.com/repos/XOOPS/xmf/zipball/243773f553b43f5477ebf1960e313caebb2d4ca5",
"reference": "243773f553b43f5477ebf1960e313caebb2d4ca5",
"shasum": ""
},
"require": {
Expand All @@ -546,7 +546,7 @@
"GPL-2.0+"
],
"description": "XMF - XOOPS Module Framework",
"time": "2017-04-18T15:15:55+00:00"
"time": "2017-04-29T17:59:15+00:00"
}
],
"packages-dev": [],
Expand Down
12 changes: 6 additions & 6 deletions htdocs/class/libraries/vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -530,17 +530,17 @@
},
{
"name": "xoops/xmf",
"version": "V1.2.6",
"version_normalized": "1.2.6.0",
"version": "V1.2.7",
"version_normalized": "1.2.7.0",
"source": {
"type": "git",
"url": "https://github.com/XOOPS/xmf.git",
"reference": "e8a34280e4e9c851b09af3e46a3d8157f0caddf0"
"reference": "243773f553b43f5477ebf1960e313caebb2d4ca5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/XOOPS/xmf/zipball/e8a34280e4e9c851b09af3e46a3d8157f0caddf0",
"reference": "e8a34280e4e9c851b09af3e46a3d8157f0caddf0",
"url": "https://api.github.com/repos/XOOPS/xmf/zipball/243773f553b43f5477ebf1960e313caebb2d4ca5",
"reference": "243773f553b43f5477ebf1960e313caebb2d4ca5",
"shasum": ""
},
"require": {
Expand All @@ -551,7 +551,7 @@
"symfony/yaml": "2.8.*",
"webmozart/assert": "^1.2"
},
"time": "2017-04-18T15:15:55+00:00",
"time": "2017-04-29T17:59:15+00:00",
"type": "project",
"installation-source": "dist",
"autoload": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10502,7 +10502,7 @@ beep.pl
// Submitted by Donavan Miller <donavanm@amazon.com>
cloudfront.net

// Amazon Elastic Compute Cloud: https://aws.amazon.com/ec2/
// Amazon Elastic Compute Cloud : https://aws.amazon.com/ec2/
// Submitted by Luke Wells <psl-maintainers@amazon.com>
*.compute.amazonaws.com
*.compute-1.amazonaws.com
Expand Down Expand Up @@ -10634,7 +10634,7 @@ square7.net
// Submitted by Dave Tharp <browsersafetymark.io@quicinc.com>
browsersafetymark.io

// callidomus: https://www.callidomus.com/
// callidomus : https://www.callidomus.com/
// Submitted by Marcus Popp <admin@callidomus.com>
mycd.eu

Expand Down Expand Up @@ -10746,7 +10746,7 @@ cloudns.us
co.nl
co.no

// COSIMO GmbH http://www.cosimo.de
// COSIMO GmbH : http://www.cosimo.de
// Submitted by Rene Marticke <rmarticke@cosimo.de>
dyn.cosidns.de
dynamisches-dns.de
Expand Down Expand Up @@ -11112,7 +11112,7 @@ myhome-server.de
ddnss.org

// dynv6 : https://dynv6.com
// Submitted by Dominik Menke <dom@digineo.de> 2016-01-18
// Submitted by Dominik Menke <dom@digineo.de>
dynv6.net

// E4YOU spol. s.r.o. : https://e4you.cz/
Expand Down Expand Up @@ -11536,7 +11536,7 @@ edu.krd
// Submitted by Damien Tournoud <dtournoud@magento.cloud>
*.magentosite.cloud

// Mail.Ru Group : https://hb.cldmail.ru
// Mail.Ru Group : https://hb.cldmail.ru
// Submitted by Ilya Zaretskiy <zaretskiy@corp.mail.ru>
hb.cldmail.ru

Expand Down Expand Up @@ -11946,7 +11946,7 @@ remotewd.com
// Submitted by Yuvi Panda <yuvipanda@wikimedia.org>
wmflabs.org

// XS4ALL Internet bv: https://www.xs4all.nl/
// XS4ALL Internet bv : https://www.xs4all.nl/
// Submitted by Daniel Mostertman <unixbeheer+publicsuffix@xs4all.net>
xs4all.space

Expand Down
19 changes: 1 addition & 18 deletions htdocs/class/libraries/vendor/xoops/xmf/src/Xmf/Metagen.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,24 +268,7 @@ protected static function nonEmptyString($var)
*/
public static function generateSeoTitle($title = '', $extension = '')
{
$title = rawurlencode(strtolower($title));

$pattern = array(
"/%09/", "/%20/", "/%21/", "/%22/", "/%23/", "/%25/", "/%26/", "/%27/", "/%28/", "/%29/", "/%2C/", "/%2F/",
"/%3A/", "/%3B/", "/%3C/", "/%3D/", "/%3E/", "/%3F/", "/%40/", "/%5B/", "/%5C/", "/%5D/", "/%5E/", "/%7B/",
"/%7C/", "/%7D/", "/%7E/", "/\./"
);
$rep_pat = array(
"-", "-", "-", "-", "-", "-100", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-at-", "-",
"-", "-", "-", "-", "-", "-", "-", "-"
);
$title = preg_replace($pattern, $rep_pat, $title);
$pattern = array(
"/%B0/", "/%E8/", "/%E9/", "/%EA/", "/%EB/", "/%E7/", "/%E0/", "/%E2/", "/%E4/", "/%EE/", "/%EF/", "/%F9/",
"/%FC/", "/%FB/", "/%F4/", "/%F6/"
);
$rep_pat = array("-", "e", "e", "e", "e", "c", "a", "a", "a", "i", "i", "u", "u", "u", "o", "o");
$title = preg_replace($pattern, $rep_pat, $title);
$title = preg_replace("/[^\p{N}\p{L}]/u", "-", $title);

$tableau = explode("-", $title);
$tableau = array_filter($tableau, 'static::nonEmptyString');
Expand Down