From b64bfaa3e029e3361572703515e3664a8cffda74 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 25 Sep 2009 00:50:55 +1200 Subject: [PATCH] Fix overzealous URL encoding of mailto: --- inc/CalDAVPrincipal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/CalDAVPrincipal.php b/inc/CalDAVPrincipal.php index d9ae6959..d260f063 100644 --- a/inc/CalDAVPrincipal.php +++ b/inc/CalDAVPrincipal.php @@ -159,7 +159,7 @@ class CalDAVPrincipal $this->calendar_home_set = array( $this->url ); $this->user_address_set = array( - rawurlencode('mailto:'.$this->email), + 'mailto:'.$this->email, ConstructURL( '/'.$this->username.'/', true ), // ConstructURL( '/~'.$this->username.'/', true ), // ConstructURL( '/__uuids__/'.$this->username.'/', true ),