summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-01-28 14:29:41 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2020-01-30 08:46:09 +0000
commit8aecb95aa4141cec066cf4cdd6e7af4f65ba75d8 (patch)
tree140c18d13e19eb11263ecd9f31637468b83b4afa /lib
parent560f3a55f0d7e3d948ccbf8d985155f75a350c34 (diff)
downloadnextcloud-server-8aecb95aa4141cec066cf4cdd6e7af4f65ba75d8.tar.gz
nextcloud-server-8aecb95aa4141cec066cf4cdd6e7af4f65ba75d8.zip
Do not encode contacts menu mailto links
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Contacts/ContactsMenu/ActionFactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Contacts/ContactsMenu/ActionFactory.php b/lib/private/Contacts/ContactsMenu/ActionFactory.php
index 899ce31ecbd..2c216bf2592 100644
--- a/lib/private/Contacts/ContactsMenu/ActionFactory.php
+++ b/lib/private/Contacts/ContactsMenu/ActionFactory.php
@@ -50,7 +50,7 @@ class ActionFactory implements IActionFactory {
* @return ILinkAction
*/
public function newEMailAction($icon, $name, $email) {
- return $this->newLinkAction($icon, $name, 'mailto:' . urlencode($email));
+ return $this->newLinkAction($icon, $name, 'mailto:' . $email);
}
}