#41
|
||||
|
||||
Quote:
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 24.07.2017 at 06:24. |
#42
|
|||
|
|||
The main problem with 'broken' basic http authentication is that in previous releases JD2 was not checking for 401 & WWW-Authenticate in HTTP header and now it does. The ezfiles servers do not send auth challenge in response, but redirect client to a home page if user name and password have not been supplied in a request.
verification in the DefaultAuthenticanFactory class -- Code:
protected boolean requiresAuthentication(Request request) { return request.getHttpConnection().getResponseCode() == 401 && request.getResponseHeader(HTTPConstants.HEADER_RESPONSE_WWW_AUTHENTICATE) != null; } Code:
public Authentication buildAuthentication(Browser browser, Request request) { // if (request.getAuthentication() == null && this.requiresAuthentication(request)) { if (request.getAuthentication() == null) { // final String wwwAuthenticate = request.getResponseHeader(HTTPConstants.HEADER_RESPONSE_WWW_AUTHENTICATE); // if (wwwAuthenticate != null) { // final String realm = new Regex(wwwAuthenticate, "realm\\s*=\\s*\"(.*?)\"").getMatch(0); // if (wwwAuthenticate.matches("(?i)^\\s*Basic.*")) { final Authentication ret = this.buildBasicAuthentication(browser, request, realm); this.addAuthentication(ret); return ret; // } else if (wwwAuthenticate.matches("(?i)^\\s*Digest.*")) { // final Authentication ret = this.buildDigestAuthentication(browser, request, realm); // this.addAuthentication(ret); // return ret; } // } // } return null; } |
#43
|
||||
|
||||
Thanks for the information. So when Basic Auth is set, the website provides the download link, right?
Please send example links and username/password to support@jdownloader.org then we can add proper support.
__________________
JD-Dev & Server-Admin |
#44
|
|||
|
|||
Quote:
|
#45
|
||||
|
||||
You're welcome
__________________
JD-Dev & Server-Admin |
#46
|
||||
|
||||
Anyone with contact to admin, can tell him to include WWW-Authenticate when not provided. even without 401 header this is allowed according to rfc and JDownloader can then auto send logins that are stored in Settings-Basic Auths... He/She can contact us on support@jdownloader.org for technical information
But a plugin solution of course would be much much better We will include it asap Would be nice to receive logins so we can check the plugin ourselves.
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 24.07.2017 at 18:45. |
#47
|
||||
|
||||
Update will be available with next update in about 5 mins
__________________
JD-Dev & Server-Admin |
#48
|
|||
|
|||
I just saw that updates were available so I updated and without doing anything else (OK I mentally crossed my fingers) I pasted a complete ezfiles link in (path+name) and it added it. This is more than JD2 had ever done before. Yay. It was rather snappy too no crawling for downloads just boom there it is.
I then looked in the plugins section, found the ezfiles.net plugin and added my username/password and it turned a nice green colour. I then went to Basic Authentication and unticked my ezfiles account there. Then I deleted the link I'd added. With everything setup so it is using only the plugin I copied and pasted the full link and again it added perfectly. Then I set it downloading and it downloaded completely. happy bunny. :w00t: A massive thanks to Jiaz and raztoki for everything they have done. I said I wasn't crazy. PS I'll pass on that www-authenticate info. Last edited by augur; 24.07.2017 at 19:51. |
#49
|
||||
|
||||
Thanks for the feedback!
__________________
JD-Dev & Server-Admin |
#50
|
|||
|
|||
camvault
Finds links from camvault.xyz. A month ago everything worked. Please.
|
#51
|
||||
|
||||
Hi ainsborn,
you just randomly posted an issue in a wrong thread which even is located in the wrong forum. Next time please read our forumrules first, add example urls and include logs. For now you're lucky as the issue was easy to identify- and example URLs were easy to find - and I've fixed it. --- [Please read]=>How/when do I get updates? Read it carefully BEFORE complaining that something would still be not working! Update cycles depend on your installed JD version!! --- [Bitte lesen]=>Wie/wann bekomme ich Updates? Bitte vollständig lesen bevor ihr euch beschwert, dass etwas immernoch nicht funktionieren würde! Die Updatezyklen variieren je nach installierter JD Version!! GreeZ pspzockerscene
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#52
|
||||
|
||||
A user has requested account support for this host once again via private ticket and he also provided an account for testing.
The following features have been added for our next set of CORE-updates:
Bitte auf das nächste CORE-Update warten! Please wait for the next CORE-Update! Wartest du auf einen angekündigten Bugfix oder ein neues Feature? Updates werden nicht immer sofort bereitgestellt! Bitte lies unser Update FAQ! | Please read our Update FAQ! --- Are you waiting for recently announced changes to get released? Updates to not necessarily get released immediately! Bitte lies unser Update FAQ! | Please read our Update FAQ! -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
Thread Tools | |
Display Modes | |
|
|