Ismael Olusola Jimoh created CB-2428:
----------------------------------------

             Summary: Javascript stops working on windows phone 8 when getting 
a 401 response from ajax
                 Key: CB-2428
                 URL: https://issues.apache.org/jira/browse/CB-2428
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP8
    Affects Versions: 2.4.0, 2.3.0
            Reporter: Ismael Olusola Jimoh
            Assignee: Jesse MacFadyen


I am using ajax to authenticate with a username and password. This works as 
expected on iOS, Android and on desktop browsers. However when recieveing a 401 
in phonegap for WP8, the app stops responding. Anything else looks ok (200, 
404, 500).

This issue is not seen in IE on the phone, only in phonegap.

I have found out that if the server does not put "WWW-Authenticate:" in the 
response header, ajax will exit as expected and other javascript code will run 
fine.

Has anyone seen this kind of issue, and a possible solution that does not 
involve changing things server side?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to