This is an automated email from the ASF dual-hosted git repository.
radu pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 8bebefc Added Apache Sling XSS Protection API 2.0.4
8bebefc is described below
commit 8bebefc214a3bf6109bd0c3ffa7abd81cb69e822
Author: Radu Cotescu <[email protected]>
AuthorDate: Mon Jan 8 13:29:03 2018 +0100
Added Apache Sling XSS Protection API 2.0.4
---
.../getting-resources-and-properties-in-sling.html | 4 ++--
downloads.html | 4 ++--
releases.html | 6 +++++-
3 files changed, 9 insertions(+), 5 deletions(-)
diff --git
a/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
b/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
index 43a300c..7b0d38e 100644
---
a/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
+++
b/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
@@ -81,7 +81,7 @@
<div class="row"><div class="small-12 columns"><section class="wrap"><p>The
Resource is one of the central parts of Sling. Extending from JCR's Everything
is Content, Sling assumes Everthing is a Resource. Thus Sling is maintaining a
virtual tree of resources, which is a merger of the actual contents in the JCR
Repository and resources provided by so called resource providers. By doing
this Sling fits very well in the paradigm of the REST architecture.</p>
<p>In this article we will explore a few ways to programmatically map a
resource path (String) to a resource object (Resource) and its properties in
Sling, from within an OSGI service, a servlet and a JSP.</p>
<p>The whole game consists in first getting a <code>ResourceResolver</code>
and then getting the <code>Resource</code> itself.</p>
-<h2><a href="#within-an-osgi-service-component"
name="within-an-osgi-service-component">Within an OSGI
Service/Component</a></h2>
+<h2><a href="#within-an-osgi-service-compoment"
name="within-an-osgi-service-compoment">Within an OSGI
Service/Compoment</a></h2>
<p>You can access a resource through the <code>ResourceResolverFactory</code>
service:</p>
<pre><code><!-- TODO syntax marker (#!java) disabled -->@Reference
private ResourceResolverFactory resolverFactory;
@@ -137,7 +137,7 @@ ValueMap properties = ResourceUtil.getValueMap(res);
</code></pre>
<p>For more details about resources and how to access them in Sling, you can
refer to the <a href="/documentation/the-sling-engine/resources.html">Sling
documentation about Resources</a>.</p></section></div></div>
<div class="footer">
-<div class="revisionInfo">Last modified by <span class="author">Bertrand
Delacretaz</span> on <span class="comment">Fri Jan 5 15:33:28 2018
+0100</span></div> <p>
+<div class="revisionInfo">Last modified by <span class="author">Bertrand
Delacretaz</span> on <span class="comment">Fri Sep 29 15:57:01 2017
+0200</span></div> <p>
Apache Sling, Sling, Apache, the Apache feather logo, and
the Apache Sling project logo are trademarks of The Apache Software Foundation.
All other marks mentioned may be trademarks or registered trademarks of their
respective owners.
</p><p>
Copyright © 2011-2017 The Apache Software Foundation.
diff --git a/downloads.html b/downloads.html
index 9cb2c4a..36bb3e1 100644
--- a/downloads.html
+++ b/downloads.html
@@ -517,8 +517,8 @@
</td><td><a
href="[preferred]sling/org.apache.sling.extensions.webconsolebranding-1.0.2-source-release.zip">Source
ZIP</a> (<a
href="http://www.apache.org/dist/sling/org.apache.sling.extensions.webconsolebranding-1.0.2-source-release.zip.asc">asc</a>,
<a
href="http://www.apache.org/dist/sling/org.apache.sling.extensions.webconsolebranding-1.0.2-source-release.zip.md5">md5</a>)
</td></tr><tr><td>Web Console Security
Provider</td><td>1.2.0</td><td><a
href="[preferred]sling/org.apache.sling.extensions.webconsolesecurityprovider-1.2.0.jar">Bundle</a>
(<a
href="http://www.apache.org/dist/sling/org.apache.sling.extensions.webconsolesecurityprovider-1.2.0.jar.asc">asc</a>,
<a
href="http://www.apache.org/dist/sling/org.apache.sling.extensions.webconsolesecurityprovider-1.2.0.jar.md5">md5</a>)
</td><td><a
href="[preferred]sling/org.apache.sling.extensions.webconsolesecurityprovider-1.2.0-source-release.zip">Source
ZIP</a> (<a
href="http://www.apache.org/dist/sling/org.apache.sling.extensions.webconsolesecurityprovider-1.2.0-source-release.zip.asc">asc</a>,
<a
href="http://www.apache.org/dist/sling/org.apache.sling.extensions.webconsolesecurityprovider-1.2.0-source-release.zip.md5">md5</a>)
- </td></tr><tr><td>XSS
Protection</td><td>2.0.0</td><td><a
href="[preferred]sling/org.apache.sling.xss-2.0.0.jar">Bundle</a> (<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss-2.0.0.jar.asc">asc</a>,
<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss-2.0.0.jar.md5">md5</a>)
- </td><td><a
href="[preferred]sling/org.apache.sling.xss-2.0.0-source-release.zip">Source
ZIP</a> (<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss-2.0.0-source-release.zip.asc">asc</a>,
<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss-2.0.0-source-release.zip.md5">md5</a>)
+ </td></tr><tr><td>XSS
Protection</td><td>2.0.4</td><td><a
href="[preferred]sling/org.apache.sling.xss-2.0.4.jar">Bundle</a> (<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss-2.0.4.jar.asc">asc</a>,
<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss-2.0.4.jar.md5">md5</a>)
+ </td><td><a
href="[preferred]sling/org.apache.sling.xss-2.0.4-source-release.zip">Source
ZIP</a> (<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss-2.0.4-source-release.zip.asc">asc</a>,
<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss-2.0.4-source-release.zip.md5">md5</a>)
</td></tr><tr><td>XSS Protection
Compat</td><td>1.1.0</td><td><a
href="[preferred]sling/org.apache.sling.xss.compat-1.1.0.jar">Bundle</a> (<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss.compat-1.1.0.jar.asc">asc</a>,
<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss.compat-1.1.0.jar.md5">md5</a>)
</td><td><a
href="[preferred]sling/org.apache.sling.xss.compat-1.1.0-source-release.zip">Source
ZIP</a> (<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.asc">asc</a>,
<a
href="http://www.apache.org/dist/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.md5">md5</a>)
</td></tr></tbody></table><h2>Maven
Plugins</h2><table class="table"><thead>
diff --git a/releases.html b/releases.html
index d135e30..a4337ea 100644
--- a/releases.html
+++ b/releases.html
@@ -78,6 +78,10 @@
</div><h1 class="pagetitle">
Releases
</h1><div class="row"><div class="small-12 columns"><section
class="wrap"><p>This is a list of all our releases, available from our <a
href="/downloads.cgi">downloads</a> page.</p>
+<h2><a href="#january-2018" name="january-2018">January 2018</a></h2>
+<ul>
+ <li>XSS Protection API 2.0.4 (8th)</li>
+</ul>
<h2><a href="#december-2017" name="december-2017">December 2017</a></h2>
<ul>
<li>Validation Core & Test Services 1.0.4, Slingstart Maven Plugin
1.7.14 (21st)</li>
@@ -1640,7 +1644,7 @@
<li>Commons LogService 2.0.6 (5th)</li>
</ul></section></div></div>
<div class="footer">
-<div class="revisionInfo">Last modified by <span class="author">Konrad
Windszus</span> on <span class="comment">Thu Dec 21 16:53:28 2017
+0100</span></div> <p>
+<div class="revisionInfo">Last modified by <span class="author">Radu
Cotescu</span> on <span class="comment">Mon Jan 8 13:24:56 2018
+0100</span></div> <p>
Apache Sling, Sling, Apache, the Apache feather logo, and
the Apache Sling project logo are trademarks of The Apache Software Foundation.
All other marks mentioned may be trademarks or registered trademarks of their
respective owners.
</p><p>
Copyright © 2011-2017 The Apache Software Foundation.
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].