1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-22 21:43:06 +02:00

Merge pull request #1752 from pwnstr/patch-1

Fix early termination bug in cookiesForURL
This commit is contained in:
cyian-1756
2020-10-01 19:57:04 +00:00
committed by GitHub

View File

@@ -81,8 +81,9 @@ public class Http {
while (parts.length > 1) {
String domain = String.join(".", parts);
// Try to get cookies for this host from config
logger.info("Trying to load cookies from config for " + domain);
cookieStr = Utils.getConfigString("cookies." + domain, "");
if (cookieStr.equals("")) {
if (!cookieStr.equals("")) {
cookieDomain = domain;
// we found something, start parsing
break;