Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 829040f

Browse files
committed
#8 check authentication handles unicode-characters
1 parent c5b0dab commit 829040f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/BasicAccessTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ public function provideValidAuthentication(): array
193193
],
194194
'no-username-or-password' => ['', '', ['Basic ' . base64_encode(':')]],
195195
'no-username-password-only-colons' => ['', '::::::', ['Basic ' . base64_encode(':::::::')]],
196+
'unicode-username-and-password' => [
197+
'thumbsup-emoji-👍',
198+
'thumbsdown-emoji-👎',
199+
['Basic ' . base64_encode('thumbsup-emoji-👍:thumbsdown-emoji-👎')]],
196200
];
197201
}
198202
}

0 commit comments

Comments
 (0)