Skip to content

Commit

Permalink
Change URL to https to get more privacy
Browse files Browse the repository at this point in the history
IP addresses are a sensible peace of your data, protect them by using https instead of http.
  • Loading branch information
doluk authored Jan 11, 2023
1 parent fa5591c commit 67aa953
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public List<String> getValidKeys(String username, String password) throws IOExce
* @throws IOException
*/
private String getIP() throws IOException {
java.net.URL url = new URL("http://checkip.amazonaws.com");
java.net.URL url = new URL("https://checkip.amazonaws.com");
BufferedReader in = new BufferedReader(new InputStreamReader(
url.openStream()));
return in.readLine();
Expand Down

0 comments on commit 67aa953

Please sign in to comment.