Skip to content

Commit

Permalink
Merge branch 'release/3.5.11' into v3
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Jan 9, 2025
2 parents f67e426 + 1bbb4e5 commit ebf6a0a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# SEOmatic Changelog

## 3.5.11 - 2025.01.09
### Fixed
* Fixed a regression that would throw an error on PHP < 8, and also fixed `phpstan` so it will check for platform errors properly going forward ([#1561](https://github.com/nystudio107/craft-seomatic/pull/1561))

## 3.5.10 - 2025.01.08
### Changed
* Encode the URI in the `canonical` `link` header ([#1519](https://github.com/nystudio107/craft-seomatic/issues/1519))
Expand Down
6 changes: 3 additions & 3 deletions buildchain/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nystudio107/craft-seomatic",
"description": "SEOmatic facilitates modern SEO best practices & implementation for Craft CMS 3. It is a turnkey SEO system that is comprehensive, powerful, and flexible.",
"type": "craft-plugin",
"version": "3.5.10",
"version": "3.5.11",
"keywords": [
"craft",
"cms",
Expand Down Expand Up @@ -74,6 +74,10 @@
"yiisoft/yii2-composer": true
},
"optimize-autoloader": true,
"platform": {
"php": "7.2.5"
},
"platform-check": false,
"sort-packages": true
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/UrlHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public static function getSiteUrlOverrideSetting(?int $siteId = null): string
*/
public static function encodeUrl(string $url): string
{
$parts = preg_split('/([:\/?#\[\]@!$&\'()*+,;=%])/', $url, flags: PREG_SPLIT_DELIM_CAPTURE);
$parts = preg_split('/([:\/?#\[\]@!$&\'()*+,;=%])/', $url, null, PREG_SPLIT_DELIM_CAPTURE);
$url = '';
foreach ($parts as $i => $part) {
if ($i % 2 === 0) {
Expand Down

0 comments on commit ebf6a0a

Please sign in to comment.