Skip to content

Commit

Permalink
fix(connector-domparser): extract base url from trimmed url string
Browse files Browse the repository at this point in the history
  • Loading branch information
thetric committed Apr 5, 2017
1 parent 29e1a9b commit b68372e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ final class WebParserIliasServiceProvider implements IliasServiceProvider {
if (loginPageNameIndex == -1) {
throw new IllegalArgumentException("Die angegebene URL enthält kein '$LOGIN_PAGE_NAME'")
}
return loginPage[0..loginPageNameIndex - 1]
return trimmed[0..loginPageNameIndex - 1]
}

private String retrieveClientId(String loginPage) throws IOException {
Expand Down

0 comments on commit b68372e

Please sign in to comment.