You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by gi...@apache.org on 2022/02/01 20:57:06 UTC
[cordova-docs] branch asf-site updated: Deploying to asf-site from @ apache/cordova-docs@f35040f8be95c3c6aee814146c128d6108cb02d4 🚀
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git
The following commit(s) were added to refs/heads/asf-site by this push:
new cf5f406 Deploying to asf-site from @ apache/cordova-docs@f35040f8be95c3c6aee814146c128d6108cb02d4 🚀
cf5f406 is described below
commit cf5f406b9dced72716c741e06b11ddee86f0fae3
Author: breautek <no...@nbsolutions.ca>
AuthorDate: Tue Feb 1 20:57:03 2022 +0000
Deploying to asf-site from @ apache/cordova-docs@f35040f8be95c3c6aee814146c128d6108cb02d4 🚀
---
docs/en/dev/guide/appdev/allowlist/index.html | 3 +--
feed.xml | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/docs/en/dev/guide/appdev/allowlist/index.html b/docs/en/dev/guide/appdev/allowlist/index.html
index 1d0661b..3622c0d 100644
--- a/docs/en/dev/guide/appdev/allowlist/index.html
+++ b/docs/en/dev/guide/appdev/allowlist/index.html
@@ -2322,13 +2322,12 @@
<p>Here are some example CSP declarations for your <code>.html</code> pages:</p>
<div class="language-html highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"><!-- Good default declaration:
- * gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
* https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
* Disables use of eval() and inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
* Enable inline JS: add 'unsafe-inline' to default-src
* Enable eval(): add 'unsafe-eval' to default-src
--></span>
-<span class="nt"><meta</span> <span class="na">http-equiv=</span><span class="s">"Content-Security-Policy"</span> <span class="na">content=</span><span class="s">"default-src 'self' data: gap: https://ssl.gstatic.com; style-src 'self' 'unsafe-inline'; media-src *"</span><span class="nt">></span>
+<span class="nt"><meta</span> <span class="na">http-equiv=</span><span class="s">"Content-Security-Policy"</span> <span class="na">content=</span><span class="s">"default-src 'self' data: https://ssl.gstatic.com; style-src 'self' 'unsafe-inline'; media-src *"</span><span class="nt">></span>
<span class="c"><!-- Allow everything but only from the same origin and foo.com --></span>
<span class="nt"><meta</span> <span class="na">http-equiv=</span><span class="s">"Content-Security-Policy"</span> <span class="na">content=</span><span class="s">"default-src 'self' foo.com"</span><span class="nt">></span>
diff --git a/feed.xml b/feed.xml
index a5e2dbb..7ef8439 100644
--- a/feed.xml
+++ b/feed.xml
@@ -6,8 +6,8 @@
</description>
<link>https://cordova.apache.org/</link>
<atom:link href="https://cordova.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Tue, 25 Jan 2022 03:37:22 +0000</pubDate>
- <lastBuildDate>Tue, 25 Jan 2022 03:37:22 +0000</lastBuildDate>
+ <pubDate>Tue, 01 Feb 2022 20:56:03 +0000</pubDate>
+ <lastBuildDate>Tue, 01 Feb 2022 20:56:03 +0000</lastBuildDate>
<generator>Jekyll v4.2.1</generator>
<item>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org