diff options
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rw-r--r-- | lib/SitesManager.php | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 40bed78..023e2a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog All notable changes to this project will be documented in this file. +## 4.1.0 – 2022-09-14 +### Fixed +- Use rawurlencode to encode the URL parameters + [#298](https://github.com/nextcloud/external/pull/298) +- Require Nextcloud 25 + ## 4.0.0 – 2022-04-07 ### Fixed - Accessibility Issue: Inline frames must have a unique, non-empty 'title' attribute diff --git a/lib/SitesManager.php b/lib/SitesManager.php index 2eb1518..859f6a1 100644 --- a/lib/SitesManager.php +++ b/lib/SitesManager.php @@ -141,7 +141,7 @@ class SitesManager { $site['url'] = str_replace( ['{email}', '{uid}', '{displayname}'], - array_map('urlencode', [$email, $uid, $displayName]), + array_map('rawurlencode', [$email, $uid, $displayName]), $site['url'] ); |