Browse Source

Lowercase endpoint in exception message

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
master
Jason A. Donenfeld 5 years ago
parent
commit
e1965f121c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/com/wireguard/config/InetEndpoint.java

+ 1
- 1
app/src/main/java/com/wireguard/config/InetEndpoint.java View File

@@ -44,7 +44,7 @@ public final class InetEndpoint {

public static InetEndpoint parse(final String endpoint) {
if (FORBIDDEN_CHARACTERS.matcher(endpoint).find())
throw new IllegalArgumentException("Forbidden characters in Endpoint");
throw new IllegalArgumentException("Forbidden characters in endpoint");
final URI uri;
try {
uri = new URI("wg://" + endpoint);


Loading…
Cancel
Save