ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
GoogleColonEscapingTest.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\VObject
;
4
5
use
PHPUnit\Framework\TestCase
;
6
13
class
GoogleColonEscapingTest
extends
TestCase {
14
15
function
testDecode
() {
16
17
$vcard = <<<VCF
18
BEGIN:VCARD
19
VERSION:3.0
20
FN:Evert Pot
21
N:Pot;Evert;;;
22
EMAIL;TYPE=INTERNET;TYPE=WORK:evert@fruux.com
23
BDAY:1985-04-07
24
item7.URL:
http
\:
//www.rooftopsolutions.nl/
25
END:VCARD
26
VCF;
27
28
$vobj
=
Reader::read
($vcard);
29
$this->assertEquals(
'http://www.rooftopsolutions.nl/'
,
$vobj
->URL->getValue());
30
31
}
32
33
}
Sabre\VObject
Definition:
mergeduplicates.php:4
ILIAS\FileDelivery\http
static http()
Fetches the global http state from ILIAS.
Definition:
HttpServiceAware.php:36
Sabre\VObject\GoogleColonEscapingTest
Google produces vcards with a weird escaping of urls.
Definition:
GoogleColonEscapingTest.php:13
Sabre\VObject\GoogleColonEscapingTest\testDecode
testDecode()
Definition:
GoogleColonEscapingTest.php:15
$vobj
$vobj
Definition:
rrulebench.php:21
Sabre\VObject\Reader\read
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
Definition:
Reader.php:42
php
TestCase
libs
composer
vendor
sabre
vobject
tests
VObject
GoogleColonEscapingTest.php
Generated on Thu Jan 16 2025 19:01:53 for ILIAS by
1.8.13 (using
Doxyfile
)