You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2022/04/28 14:29:24 UTC

[camel-website] branch main updated (04f9e4e1 -> f257b663)

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git


    from 04f9e4e1 Remove all the formatting characters from the id to prevent invalid url generation (#833)
     new ff2a62ed chore: add tracking DNT resource
     new f257b663 chore: add RFC8615 security content

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 config.toml                      | 6 ++++++
 content/misc/security.md         | 9 +++++++++
 layouts/security/single.txt      | 5 +++++
 static/.well-known/dnt/.htaccess | 2 ++
 static/.well-known/dnt/index.dnt | 1 +
 5 files changed, 23 insertions(+)
 create mode 100644 content/misc/security.md
 create mode 100644 layouts/security/single.txt
 create mode 100644 static/.well-known/dnt/.htaccess
 create mode 100644 static/.well-known/dnt/index.dnt


[camel-website] 02/02: chore: add RFC8615 security content

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit f257b663c9555d4613fe9cf0832713a896bda23c
Author: Zoran Regvart <zo...@regvart.com>
AuthorDate: Thu Apr 28 14:08:58 2022 +0200

    chore: add RFC8615 security content
    
    In accordance with https://www.rfc-editor.org/rfc/rfc9116.
---
 config.toml                 | 6 ++++++
 content/misc/security.md    | 9 +++++++++
 layouts/security/single.txt | 5 +++++
 3 files changed, 20 insertions(+)

diff --git a/config.toml b/config.toml
index febe47bb..1780c360 100644
--- a/config.toml
+++ b/config.toml
@@ -110,3 +110,9 @@ defaultMarkdownHandler = "blackfriday"
 
   [privacy.youtube]
     privacyEnhanced = true
+
+[mediaTypes."text/plain"]
+  suffixes = ["txt"]
+[outputFormats.TXT]
+  mediaType = "text/plain"
+  isPlainText = true
diff --git a/content/misc/security.md b/content/misc/security.md
new file mode 100644
index 00000000..dbea4826
--- /dev/null
+++ b/content/misc/security.md
@@ -0,0 +1,9 @@
+---
+type: security
+url: /.well-known/security.txt
+outputs: txt
+canonical: https://camel.apache.com/.well-known/security.txt
+contact: mailto:security@apache.org
+encryption: https://www.apache.org/security/KEYS.txt
+policy: https://www.apache.org/security/
+---
diff --git a/layouts/security/single.txt b/layouts/security/single.txt
new file mode 100644
index 00000000..80e5c6f1
--- /dev/null
+++ b/layouts/security/single.txt
@@ -0,0 +1,5 @@
+Canonical: {{ $.Params.canonical }}
+Contact: {{ $.Params.contact }}
+Encryption: {{ $.Params.encryption }}
+Policy: {{ $.Params.policy }}
+Expires: {{ now.UTC.AddDate 1 0 0 | time.Format "2006-01-02T15:04:05Z07:00" }}


[camel-website] 01/02: chore: add tracking DNT resource

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit ff2a62ed3f55154304440130f1d80d7f4c8d0ec2
Author: Zoran Regvart <zo...@regvart.com>
AuthorDate: Thu Apr 28 13:16:48 2022 +0200

    chore: add tracking DNT resource
    
    In accordance with https://www.w3.org/TR/tracking-dnt/.
---
 static/.well-known/dnt/.htaccess | 2 ++
 static/.well-known/dnt/index.dnt | 1 +
 2 files changed, 3 insertions(+)

diff --git a/static/.well-known/dnt/.htaccess b/static/.well-known/dnt/.htaccess
new file mode 100644
index 00000000..b3bef3c2
--- /dev/null
+++ b/static/.well-known/dnt/.htaccess
@@ -0,0 +1,2 @@
+DirectoryIndex index.dnt
+ForceType application/tracking-status+json
diff --git a/static/.well-known/dnt/index.dnt b/static/.well-known/dnt/index.dnt
new file mode 100644
index 00000000..12060007
--- /dev/null
+++ b/static/.well-known/dnt/index.dnt
@@ -0,0 +1 @@
+{"tracking":"N","policy":"https://privacy.apache.org/policies/privacy-policy-public.html"}