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 changed files with 8 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue