[Pkg-javascript-commits] [sockjs-client] 49/350: Enable withCredentials flag also for requests sent to /info
tonnerre at ancient-solutions.com
tonnerre at ancient-solutions.com
Fri Aug 5 01:03:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch upstream
in repository sockjs-client.
commit ca61b13d6ed178d4d76a9757c2de6f0168a32e53
Author: Luigi Pinca <luigipinca at gmail.com>
Date: Sat May 24 14:56:38 2014 +0200
Enable withCredentials flag also for requests sent to /info
---
lib/info.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/info.js b/lib/info.js
index fc5b662..7f2f745 100644
--- a/lib/info.js
+++ b/lib/info.js
@@ -96,8 +96,7 @@ var createInfoReceiver = function(base_url) {
}
switch (utils.isXHRCorsCapable()) {
case 1:
- // XHRLocalObject -> no_credentials=true
- return new InfoReceiver(base_url, utils.XHRLocalObject);
+ return new InfoReceiver(base_url, utils.XHRCorsObject);
case 2:
// IE 8/9 if the request target uses the same scheme
if (utils.isSameOriginScheme(base_url)) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git
More information about the Pkg-javascript-commits
mailing list