www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 59066e40b7913a1a9f6c6f7cfa55375d8611d2f2
parent 4c9b5935e8d0b731242ae058d194f00932c73b28
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 18 Jul 2011 20:51:14 +0000

Don't add Access-Control-Allow-Origin headers to Safari


Diffstat:
Mchrome/content/zotero/xpcom/server.js | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/server.js b/chrome/content/zotero/xpcom/server.js @@ -67,8 +67,6 @@ Zotero.Server = new function() { */ this.generateResponse = function (status, contentType, body) { var response = "HTTP/1.0 "+status+" "+responseCodes[status]+"\r\n"; - response += "Access-Control-Allow-Origin: org.zotero.zoteroconnectorforsafari-69x6c999f9\r\n"; - response += "Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD\r\n"; if(body) { if(contentType) {