Bug 140850 - [testcase] XMLHttpRequest does not send authentication information
Summary: [testcase] XMLHttpRequest does not send authentication information
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 3.5
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-29 19:59 UTC by Ian P. Christian
Modified: 2012-06-18 14:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
testcase (879 bytes, application/octet-stream)
2008-04-20 02:02 UTC, Michael Leupold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian P. Christian 2007-01-29 19:59:42 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Unspecified Linux
OS:                Linux

If you use XMLHttpRequest on a site protected by HTTP authentication, then it will ask for your username and password - despite having logged into the site to load the page in the first place.
Comment 1 Douglas E. Warner 2008-02-27 20:28:12 UTC
I'm also experiencing this both in 3.5.8 and 3.5.9.
Comment 2 Michael Leupold 2008-04-20 02:02:05 UTC
Created attachment 24420 [details]
testcase

This testcase tries to reproduce the problem mentioned in the report. It has to
be put on some webserver to work (.htaccess with user/password = kde/kde
included).

I also uploaded the testcase to
http://test.confuego.org/140850/140850-page.html for testing it right away.
Comment 3 Michael Leupold 2008-04-20 02:04:04 UTC
Using my testcase I can't reproduce this bug on either 3.5.9 or trunk r798768. Are you still experiencing this behaviour?
Comment 4 Douglas E. Warner 2008-04-21 03:29:57 UTC
In the case where I'm getting problems logging in, javascript is loading content that needs authentication into a page where I already authenticated.  
So the javascript executes without any user interaction which may be why your test case succeeds but we see the authentication problem.
Comment 5 Allan Sandfeld 2010-04-16 18:52:11 UTC
The KHTML implementation of XMLHttpRequest does in fact no have authentication right now.
Comment 6 Myriam Schweingruber 2012-06-18 14:02:49 UTC
Message from the Bugsquad and Konqueror teams:
This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore.
If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report.
Thank you for your understanding.