CGarces / pop2owa

http://www.pop2owa.com
1 stars 1 forks source link

Error send cookies headers #45

Closed CGarces closed 8 years ago

CGarces commented 16 years ago

"Cookies" headers send to exchange server are incorrect

Should be "Cookie" instead of "Cookies"

clsXMLRequest.cls 48 If strCookies <> Empty Then 49 objXMLRequest.setRequestHeader "Cookies", "Necessary according to Q234486" 50 objXMLRequest.setRequestHeader "Cookies", strCookies

http://support.microsoft.com/?kbid=234486

Should be fixed in the next release

Reported by: idcarlos

CGarces commented 16 years ago

Logged In: YES user_id=767680 Originator: NO

Hi,

i've just compiled a version with the fix, and the Form Based authentication is working !

tanks!

Li0n

Original comment by: li0n40

CGarces commented 16 years ago

Logged In: YES user_id=767680 Originator: NO

Hi Carlos,

Another point, strcookie need to be reinitilised before making the string because of global scope.

=> the cookie header is growing at each POP/SMTP command and after 2hours, there is a 400 Bad request response from OWA server!

Public Sub GetCookies() ...

strCookies = "" strHeaders = objXMLRequest.getAllResponseHeaders()

You have made a GREAT tool btw!

best regards,

Li0n

Original comment by: li0n40

CGarces commented 16 years ago

Logged In: YES user_id=795313 Originator: YES

This issue has fixed in the last official release The bug is now closed

Original comment by: idcarlos

CGarces commented 16 years ago

Original comment by: idcarlos