1
0
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:
Philipp Erhardt
2019-11-18 16:56:55 +01:00
parent 227161bb31
commit 7fe3ce059b

View File

@@ -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("\\.");