diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 17:25:51 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 17:25:51 -0500 |
commit | bbf10b90975bc11e5ea2ac70196615a041b00f6f (patch) | |
tree | 23dc6572ef3c31de044661425de06df75b92d103 /mailnews/compose/src/nsSmtpService.cpp | |
parent | b0e23e79e72b7892b826fabea4f9e02c421d2861 (diff) | |
download | UXP-bbf10b90975bc11e5ea2ac70196615a041b00f6f.tar UXP-bbf10b90975bc11e5ea2ac70196615a041b00f6f.tar.gz UXP-bbf10b90975bc11e5ea2ac70196615a041b00f6f.tar.lz UXP-bbf10b90975bc11e5ea2ac70196615a041b00f6f.tar.xz UXP-bbf10b90975bc11e5ea2ac70196615a041b00f6f.zip |
Bug 1328847 - Change SEC_NORMAL to SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL where system principal is used.
Tag #1273
Diffstat (limited to 'mailnews/compose/src/nsSmtpService.cpp')
-rw-r--r-- | mailnews/compose/src/nsSmtpService.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mailnews/compose/src/nsSmtpService.cpp b/mailnews/compose/src/nsSmtpService.cpp index 9f9295934..9409811ff 100644 --- a/mailnews/compose/src/nsSmtpService.cpp +++ b/mailnews/compose/src/nsSmtpService.cpp @@ -357,8 +357,11 @@ NS_IMETHODIMP nsSmtpService::NewChannel2(nsIURI *aURI, if (NS_FAILED(rv)) return rv; - return NS_NewInputStreamChannel(_retval, aURI, pipeIn, - nullPrincipal, nsILoadInfo::SEC_NORMAL, + return NS_NewInputStreamChannel(_retval, + aURI, + pipeIn, + nullPrincipal, + nsILoadInfo::SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL, nsIContentPolicy::TYPE_OTHER, NS_LITERAL_CSTRING("application/x-mailto")); } |