Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/external.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-09-14 12:24:25 +0300
committerJoas Schilling <coding@schilljs.com>2022-09-14 12:24:25 +0300
commit86b41285e864025c5933a6ae51cad5952e82f909 (patch)
tree58a3fe1e6482514bed27d56cfc936e07a8efae09
parent7dae891e85d57820e6a8343fd99ee897436bea5d (diff)
Use rawurlencodev4.1.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--CHANGELOG.md6
-rw-r--r--lib/SitesManager.php2
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']
);