Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 8 years ago

#948 closed bug (worksforme)

jquery ajax authentification intégré iis

Reported by: phoenixenator@… Owned by:
Priority: major Milestone: 1.1.4
Component: ajax Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:

Description

Les requetes ajax de jquery 1.1 ne fonctionnent pas avec firefox 2.01 si l'on utilise un serveur iis et que l'on a configurer l'application pour qu'elle utilise l'authentification intégré (il n'y a aucun problème avec ie6 et ie7).

Change History (10)

comment:1 Changed 13 years ago by fil

Translation:

The ajax requests under jQuery 1.1 don't work with firefox 2.01 if you use a IIS server, and you configured the application (?) so that it uses the integrated authentication (there is however no problem with IE6 or IE7)

comment:2 Changed 13 years ago by brian

"Integrated authentication" requires IE magic. The only way I can think of to make this work, outside of changing the IIS settings to use a different auth scheme, is to intentionally try to load up and use the XMLHTTP ActiveX control from FF.

Personally, I think that this problem is beyond the scope of jQuery (or, any JS library).

comment:3 Changed 13 years ago by john

Milestone: 1.1.3
Resolution: wontfix
Status: newclosed
Version: 1.1

Due to Brian's notes - I'm going to close this ticket.

comment:4 Changed 13 years ago by jf5110a

Resolution: wontfix
Status: closedreopened

If you don't mind I'd like to reopen this ticket.

I am having the same issues mentioned above. I don't think the statement that integrated auth requires "IE Magic" is accurate.

I have no problem using a firefox browser against an IIS6 server using integrated auth, then navigating to other pages without being prompted for my creds again.

If I do something that makes an ajax call, the first couple of ajax calls I make in the browser work, then it suddenly prompts me for my creds again, but when I enter them I just keep getting prompted.

The fact that firefox handles integrated auth fine when navigating pages of a site, as well as the fact that the first few ajax calls work, makes me believe the problem lies in the ajax framework.

Integrated auth is common enough for firefox to support it, so I would hope that jquery could as well.

comment:6 Changed 13 years ago by jf5110a

I have found that if I comment out this line in jquery.js (around line 1723), the ajax calls in firefox work fine with windows auth:

xml.setRequestHeader("Connection", "close");

I am no jquery expert, so I must ask, what negative implications could jquery experience by removing this line?

comment:7 Changed 13 years ago by john

Milestone: 1.1.4
need: Review
Resolution: fixed
Status: reopenedclosed
Version: 1.1.3

That code has been removed from jQuery, so this issue should be resolved for you now. Let me know if that's not the case.

comment:8 Changed 13 years ago by gcleaves

I've just downloaded 1.1.3.1 and have a similar problem. I'm using Apache 2.2 on Windows 2003 server. Apache uses the NTLM module and the application relies on Windows authentication. AJAX calls to scripts requiring NTLM authentication fail when using Firefox. It works with Internet Explorer and Firefox/Prototype. The combination of Firefox/Jquery does not work. We get a 401 Unauthorized page instead of the AJAX response.

comment:9 Changed 13 years ago by gcleaves

Resolution: fixed
Status: closedreopened

comment:10 Changed 13 years ago by gcleaves

Oops, I feel shame. Please ignore my previous comments as I wasn't actually using the most recent version of jquery. It seems that everything *does* work as it should with the latest version.

comment:12 Changed 13 years ago by john

Resolution: worksforme
Status: reopenedclosed
Note: See TracTickets for help on using tickets.