Skip to content

Commit

Permalink
Added warning in case of invalid outbound URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
chkal committed Dec 3, 2017
1 parent 67b26ae commit efc9159
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ public String encodeURL(final String url)
address = AddressBuilder.create(url);
}
catch (IllegalArgumentException e) {
log.warn("Skipping outbound rewriting of invalid URL: " + url);
return super.encodeURL(url);
}

Expand Down

0 comments on commit efc9159

Please sign in to comment.