Skip to content

Commit

Permalink
fixup! Fix EZP-25796: URI map matcher and utf8 generates broken urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao Inacio authored and andrerom committed Aug 22, 2017
1 parent 84c2e2d commit 458b722
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/tests/kernel/classes/ezsiteaccessmatchhosturi_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,12 @@ public function providerForTestMatchHostUri()
array( "abcdef/foo/bar", "abcdef_foo", eZSiteAccess::TYPE_HTTP_HOST_URI, array( "abcdef", "foo" ) ),
array( "abcdefg/foo/abc", "abcdefg_foo", eZSiteAccess::TYPE_HTTP_HOST_URI, array( "abcdefg", "foo" ) ),
array( "engæ", "eng", eZSiteAccess::TYPE_HTTP_HOST_URI, array( "engæ" ) ),
array( "engæøå", "admin", eZSiteAccess::TYPE_DEFAULT, array() ),
array( "æeng", "admin", eZSiteAccess::TYPE_DEFAULT, array() ),
array( "engæ/foo", "eng_foo", eZSiteAccess::TYPE_HTTP_HOST_URI, array( "engæ", "foo" ) ),
array( "engæ/bar", "eng", eZSiteAccess::TYPE_HTTP_HOST_URI, array( "engæ" ) ),
array( "engæøå", "admin", eZSiteAccess::TYPE_DEFAULT, array() ),
array( "engæøå/foo", "admin", eZSiteAccess::TYPE_DEFAULT, array() ),
array( "engæ/fooæ", "eng", eZSiteAccess::TYPE_HTTP_HOST_URI, array( "engæ" ) ),
array( "engæøå/fooæ", "admin", eZSiteAccess::TYPE_DEFAULT, array() ),
);
}
Expand Down

0 comments on commit 458b722

Please sign in to comment.