mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-24 14:33:17 +02:00
Use the passed url in cookiesForURL function
While this doesn't make any difference, not using the argument is kind of bad. One could also remove the argument and use `this.url` directly.
This commit is contained in:
@@ -68,7 +68,7 @@ public class Http {
|
||||
Map<String, String> cookiesParsed = new HashMap<>();
|
||||
|
||||
try {
|
||||
URL parsed = new URL(this.url);
|
||||
URL parsed = new URL(u);
|
||||
String cookieStr = "";
|
||||
|
||||
String[] parts = parsed.getHost().split("\\.");
|
||||
|
Reference in New Issue
Block a user