XMLHTTP g?i khng thnh cng cho cc URL v?i ch?ng ch? ng?i dng nhng

D?ch tiu ? D?ch tiu ?
ID c?a bi: 832414
Chu y B?n C?p Nh?t ?c m t? trong bi vi?t ny ?c thay th? b?i cc C?p Nh?t ?c m t? trong bi vi?t c s? ki?n th?c Microsoft sau:
887606 MSXML s? d?ng thng tin ng nh?p ?c lu tr? khng ng
Bung t?t c? | Thu g?n t?t c?

TRI?U CH?NG

B?n th?c hi?n cu?c g?i XMLHTTP v?i cc ?nh d?ng sau:
Xmlhttp.open("GET", 
"http://someone:mypass@www.northwindtraders.com/default.asp", 
 false, "", "");
Xmlhttp.open("GET",
"http://someone:mypass@www.northwindtraders.com/default.asp",
 false, "someone", "passwd");
Xmlhttp.open("GET",
 "http://www.northwindtraders.com/default.asp",
  false, "someone", "mypass");
Cu?c g?i khng thnh cng, v b?n nh?n ?c thng bo l?i sau:
L?i c php khng h?p l?
Tuy nhin, sau y g?i l thnh cng:
Xmlhttp.open("GET", "http://www.northwindtraders.com/default.asp", false, "", "");

NGUYN NHN

Microsoft Internet Explorer b?o m?t C?p Nh?t c ngh?a l m t? trong sau y Microsoft Knowledge Base bi vi?t c?m cc URL v?i ch?ng ch? ng?i dng nhng:
832894 MS04-004: C?p Nh?t b?o m?t tch lu? cho Internet Explorer
.

THNG TIN THM

Ngay c? sau khi b?n p d?ng cc s?a ch?a ?c cung c?p ? y bi vi?t, cc cu?c g?i XMLHTTP v?i cc URL trong cc ?nh d?ng sau v?n th?t b?i.
Xmlhttp.open("GET",
"http://someone:mypass@www.northwindtraders.com/default.asp",
 false);
Xmlhttp.open("GET",
"http://someone:mypass@www.northwindtraders.com/default.asp",
 false, "someone", "passwd");
B?n ph?i p d?ng cc s?a ch?a, v b?n c?ng ph?i thay ?i URL ? cc ?nh d?ng sau.
Xmlhttp.open("GET", "http://www.northwindtraders.com/default.asp", false, "someone", "mypass");

GI?I PHP

M?t s?a ch?a ?c h? tr? l by gi? c s?n t? Microsoft. S?a ch?a s? ch? cho php cc k?ch b?n ni m ch?ng ch? ng?i dng ?c thng qua nh l tham s? trong cc Open() phng php g?i. S?a ch?a s? khng cho php t?nh hu?ng ni ng?i dng thng tin ng nh?p ?c nhng trong URL.

Chu y S?a ch?a l ch? dnh cho cc phin b?n sau y c?a Microsoft XML Phn tch c php (MSXML):
  • Microsoft XML 2.6
  • Microsoft XML 3,0 Service Pack 2
  • Microsoft XML 3,0 Service Pack 3
  • Microsoft XML 3,0 Service Pack 4
  • Microsoft XML 4,0 Service Pack 2
? thm thng tin v? lm th? no ? c ?c cc C?p nh?t t?p v cho thm chi ti?t, nh?p vo s? bi vi?t sau y ? Xem bi vi?t trong c s? ki?n th?c Microsoft:
887606MSXML s? d?ng thng tin ng nh?p ?c lu tr? khng ng

CCH GI?I QUY?T KHC

? lm vi?c xung quanh v?n ? ny, s? d?ng ?nh d?ng sau.
Xmlhttp.open("GET", "http://www.northwindtraders.com/default.asp", false, "", "");

T?NH TR?NG

Microsoft ? xc nh?n r?ng cc k?ch b?n ni m ng?i s? d?ng thng tin ng nh?p ?c thng qua nh l tham s? trong cc Open() phng php g?i v khng ?c nhng vo trong URL, l m?t v?n ? trong cc S?n ph?m c?a Microsoft ?c li?t k trong ph?n "p d?ng cho".

THAM KH?O

? bi?t thm chi ti?t, xem Microsoft sau y B?n tin b?o m?t:
http://www.Microsoft.com/technet/Security/Bulletin/MS04-004.mspx
? bi?t thm chi ti?t, nh?p vo s? bi vi?t sau ? xem cc bi vi?t trong c s? ki?n th?c Microsoft:
834489Internet Explorer khng h? tr? tn ng?i dng v m?t kh?u trong ?a ch? trang Web (HTTP ho?c HTTPS URL)
887606 MSXML s? d?ng thng tin ng nh?p ?c lu tr? khng ng
269238 Thng bo: Phin b?n danh sch c?a phn tch c php Microsoft XML
278674 Xc ?nh cc phin b?n c?a b? phn tch MSXML ci trn my tnh
V d? cc cng ty, t? ch?c, s?n ph?m, tn mi?n, ?a ch? e-mail, bi?u trng, ng?i, ?a i?m v cc s? ki?n ?c miu t? ? y l h c?u. Khng c lin k?t v?i b?t k? cng ty th?c s?, t? ch?c, s?n ph?m, tn mi?n, ?a ch? e-mail, bi?u t?ng, ng?i, ?a i?m ho?c s? ki?n l d? ?nh ho?c nn ?c suy ra.

Thu?c tnh

ID c?a bi: 832414 - L?n xem xt sau cng: 30 Thang Tam 2011 - Xem xt l?i: 2.0
T? kha:
kbfix kbbug kbsecvulnerability kbsecbulletin kbsecurity kbhotfixserver kbqfe kbmt KB832414 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:832414

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com