Fix overzealous URL encoding of mailto:

This commit is contained in:
Andrew McMillan 2009-09-25 00:50:55 +12:00
parent 02a1e6efb8
commit b64bfaa3e0

View File

@ -159,7 +159,7 @@ class CalDAVPrincipal
$this->calendar_home_set = array( $this->url ); $this->calendar_home_set = array( $this->url );
$this->user_address_set = array( $this->user_address_set = array(
rawurlencode('mailto:'.$this->email), 'mailto:'.$this->email,
ConstructURL( '/'.$this->username.'/', true ), ConstructURL( '/'.$this->username.'/', true ),
// ConstructURL( '/~'.$this->username.'/', true ), // ConstructURL( '/~'.$this->username.'/', true ),
// ConstructURL( '/__uuids__/'.$this->username.'/', true ), // ConstructURL( '/__uuids__/'.$this->username.'/', true ),