Fixes #5955. Option crossDomain now forces ajax to consider a request as cross-domain...
authorjaubourg <j@ubourg.net>
Sun, 9 Jan 2011 15:50:13 +0000 (16:50 +0100)
committerjaubourg <j@ubourg.net>
Sun, 9 Jan 2011 15:50:13 +0000 (16:50 +0100)
commit5a5f67800b048ae274e644547f4b8e03156ffa49
treec5280f8af99b42e0439aed4c36e5f9a6456745d4
parentc55a76a23fdf8e9b22d9792a0f3a39051cc33993
Fixes #5955. Option crossDomain now forces ajax to consider a request as cross-domain even when it is not. Useful for when servers issue redirects to cross-domain urls. Unit test added.
src/ajax.js
test/unit/ajax.js