Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dashcode xmlhttp bug?



Hi There,

I've been trying to create a widget with dashcode and I think I've come accros a bug.

When using authentication inĀ  xmlhttp if you have an @ sign in the login name it fails to send the request.

The login name in my case is a full email address. It seems to work ok when theres no @ sign in the username.

var login = document.getElementById('login').value;
var password = document.getElementById('password').value;


xmlhttp = new XMLHttpRequest();
xmlhttp.open("POST", "http://soap.apm-internet.net/v2.0/accounts2.php", false, login, password);

Can anyone shed any light on this?

This works fine when done in a webpage and accessed using firefox.

Jonathan
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.