Skip to content
Permalink
Browse files
Fixes issue #114, incorrect auths used by scanners and walkers (#115)
Fixed authValue.split("|") call in ContinuousEnv.java.
It was not considering | as a metacharacter in regex used by split
added escape character \\ in the split function call as authValue.split("\\|")
  • Loading branch information
mandarinamdar authored and ctubbsii committed Oct 7, 2019
1 parent 75b6ef3 commit ee472db0f47dbaaabd89605e3463f5983ef965fd
Showing 1 changed file with 1 addition and 1 deletion.
@@ -27,7 +27,7 @@ private List<Authorizations> getAuthList() {
authList = Collections.singletonList(Authorizations.EMPTY);
} else {
authList = new ArrayList<>();
for (String a : authValue.split("|")) {
for (String a : authValue.split("\\|")) {
authList.add(new Authorizations(a.split(",")));
}
}

0 comments on commit ee472db

Please sign in to comment.