Skip to content

Commit ec46ee5

Browse files
author
updating-bot
committed
mirroring bot - 2025/08/09
1 parent ade9cfc commit ec46ee5

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

svn_browser/src/jd/http/Browser.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2613,7 +2613,9 @@ protected static CloudflareBlockedType getCloudflareBlock(Browser browser, Reque
26132613
}
26142614
// final boolean isCloudflareHeaderCfRayExistent = req.getResponseHeader("cf-ray") != null;
26152615
final boolean isCloudflareServer = StringUtils.containsIgnoreCase(request.getResponseHeader(HTTPConstants.HEADER_RESPONSE_SERVER), "cloudflare");
2616-
final boolean isTypicalCloudflareResponseCode = con.getResponseCode() == 403 || con.getResponseCode() == 502 || con.getResponseCode() == 503 || con.getResponseCode() == 429 || con.getResponseCode() == 522 || con.getResponseCode() == 523;
2616+
final boolean isTypicalCloudflareResponseCode = con.getResponseCode() == 403 || con.getResponseCode() == 502 || con.getResponseCode() == 503 || con.getResponseCode() == 429 || con.getResponseCode() == 522 || con.getResponseCode() == 523 || con.getResponseCode() == 526;
2617+
/* 526: Invalid SSL certificate */
2618+
26172619
/**
26182620
* TODO: 2023-12-21: Maybe remove reliance on http status-code as it looks like literally any status code can be returned when a
26192621
* Cloudflare block happens. </br>

svn_trunk/src/jd/plugins/hoster/LoadedfilesOrg.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import jd.plugins.DownloadLink;
2727
import jd.plugins.HostPlugin;
2828

29-
@HostPlugin(revision = "$Revision: 51142 $", interfaceVersion = 2, names = {}, urls = {})
29+
@HostPlugin(revision = "$Revision: 51312 $", interfaceVersion = 2, names = {}, urls = {})
3030
public class LoadedfilesOrg extends YetiShareCore {
3131
public LoadedfilesOrg(PluginWrapper wrapper) {
3232
super(wrapper);
@@ -101,4 +101,10 @@ public int getMaxSimultaneousFreeAccountDownloads() {
101101
public int getMaxSimultanPremiumDownloadNum() {
102102
return -1;
103103
}
104+
105+
@Override
106+
protected boolean requiresWWW() {
107+
/* 2025-08-08: Important otherwise we run into Cloudflare error "526: Invalid SSL certificate" */
108+
return false;
109+
}
104110
}

svn_trunk/src/jd/plugins/hoster/SendCm.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
import jd.plugins.LinkStatus;
7070
import jd.plugins.PluginException;
7171

72-
@HostPlugin(revision = "$Revision: 51310 $", interfaceVersion = 3, names = {}, urls = {})
72+
@HostPlugin(revision = "$Revision: 51312 $", interfaceVersion = 3, names = {}, urls = {})
7373
public class SendCm extends XFileSharingProBasic {
7474
public SendCm(final PluginWrapper wrapper) {
7575
super(wrapper);
@@ -1031,7 +1031,7 @@ public Account getAccount() {
10311031
* enableAccountApiOnlyMode() returns true.
10321032
*/
10331033
final XFSConfigSendCm cfg = PluginJsonConfig.get(XFSConfigSendCm.class);
1034-
cfg.setLoginMode(LoginMode.AUTO);
1034+
cfg.setLoginMode(LoginMode.DEFAULT);
10351035
final Account account = new Account(getUsername(), getPassword());
10361036
account.setProperty(PROPERTY_ACCOUNT_FORCE_WEBSITE_LOGIN, true);
10371037
return account;

0 commit comments

Comments
 (0)