ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\VObject\GoogleColonEscapingTest Class Reference

Google produces vcards with a weird escaping of urls. More...

+ Inheritance diagram for Sabre\VObject\GoogleColonEscapingTest:
+ Collaboration diagram for Sabre\VObject\GoogleColonEscapingTest:

Public Member Functions

 testDecode ()
 

Detailed Description

Google produces vcards with a weird escaping of urls.

VObject will provide a workaround for this, so end-user still get expected values.

Definition at line 13 of file GoogleColonEscapingTest.php.

Member Function Documentation

◆ testDecode()

Sabre\VObject\GoogleColonEscapingTest::testDecode ( )

Definition at line 15 of file GoogleColonEscapingTest.php.

15 {
16
17 $vcard = <<<VCF
18BEGIN:VCARD
19VERSION:3.0
20FN:Evert Pot
21N:Pot;Evert;;;
22EMAIL;TYPE=INTERNET;TYPE=WORK:evert@fruux.com
23BDAY:1985-04-07
24item7.URL:http\://www.rooftopsolutions.nl/
25END:VCARD
26VCF;
27
28 $vobj = Reader::read($vcard);
29 $this->assertEquals('http://www.rooftopsolutions.nl/', $vobj->URL->getValue());
30
31 }
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
Definition: Reader.php:42
static http()
Fetches the global http state from ILIAS.
$vobj
Definition: rrulebench.php:21

References $vobj, ILIAS\FileDelivery\http(), and Sabre\VObject\Reader\read().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: