Merge pull request #2079 from stianst/master
Add test with different case in scheme part of redirect uri
This commit is contained in:
commit
f5db03d6e9
1 file changed
+8
+8
@@ -244,6 +244,14 @@ public class OAuthRedirectUriTest {
|
||||
checkRedirectUri("http://wiTh-dAsh.eXampLe.com/foO", false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testDifferentCaseInScheme() throws IOException {
|
||||
oauth.clientId("test-dash");
|
||||
|
||||
checkRedirectUri("HTTP://with-dash.example.com", true);
|
||||
checkRedirectUri("Http://wiTh-dAsh.example.com", true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testLocalhost() throws IOException {
|
||||
oauth.clientId("test-installed");
|
||||
|
||||
Reference in new issue
Block a user