You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2014/07/09 14:18:05 UTC
[jira] [Updated] (CB-5211) Windows Phone 8 crashes if ajax-request
with basic authentication is send with wrong credentials
[ https://issues.apache.org/jira/browse/CB-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Grebnov updated CB-5211:
-------------------------------
Labels: (was: bug javascript newbie)
> Windows Phone 8 crashes if ajax-request with basic authentication is send with wrong credentials
> ------------------------------------------------------------------------------------------------
>
> Key: CB-5211
> URL: https://issues.apache.org/jira/browse/CB-5211
> Project: Apache Cordova
> Issue Type: Bug
> Components: WP8
> Affects Versions: 3.1.0
> Environment: Cordova 3.1
> Microsoft Visual Studio 2012 Express
> Created on Windows 8.1
> Tested on Samsung Ativ S
> VLC 2.1 HTTP-Interface with basic authentication
> Reporter: stiller-leser
> Assignee: Sergey Grebnov
>
> Hey,
> I am currently writing an app for the VLC-Mediaplayer. Since version 2.1 they request a password to be set to access their webinterface. I am connecting to and controlling the webinterface via ajax-calls. To connect to the server I need to send a authorization-header with the credentials. As long as the credentials are correct, even if the username-part is empty, the app works like charm.
> As soon as the request is send with the wrong credentials the app is crashing on Windows Phone 8 (Samsung Ativ S). It won't reopen until it is manually killed from VS.
> First I thought, ok, that might be a jquery-problem. Today I tried the same thing with a standard javascript-xmlHttpRequest. The same problem occurs.
> On Android and in Chrome (using ripple), the timeout is correctly called, e.g. handled.
> You'll find my ajax-calls here: http://pastebin.com/9kDansAC. Let me now if you need any further informations.
> Cheers,
> stiller-leser
> P.S. Labels newbie and noob - Seriously? :)
--
This message was sent by Atlassian JIRA
(v6.2#6252)