You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by gi...@apache.org on 2020/08/14 08:33:11 UTC

[sling-site] branch asf-site updated: Automatic website deployment from https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/3/

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

git-site-role 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 04100de  Automatic website deployment from https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/3/
04100de is described below

commit 04100debe75bb9b298e3cffb75b4c243a5478bfe
Author: jenkins <us...@infra.apache.org>
AuthorDate: Fri Aug 14 08:33:07 2020 +0000

    Automatic website deployment from https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/3/
---
 documentation/the-sling-engine/url-decomposition.html | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/documentation/the-sling-engine/url-decomposition.html b/documentation/the-sling-engine/url-decomposition.html
index cf36b45..0d4d65c 100644
--- a/documentation/the-sling-engine/url-decomposition.html
+++ b/documentation/the-sling-engine/url-decomposition.html
@@ -128,7 +128,7 @@
 <li><strong>Extension</strong> - The string after the last dot after the resource path in the request URL but before the end of the request URL or the next slash after the resource path in the request URL is the extension.</li>
 <li><strong>Suffix</strong> - If the request URL contains a slash character after the resource path and optional selectors and extension, the path starting with the slash up to the end of the request URL is the suffix path. Otherwise, the suffix path is empty. Note, that after the resource path at least a dot must be in the URL to let Sling detect the suffix.</li>
 </ol>
-<p>In addition since <a href="https://issues.apache.org/jira/browse/SLING-848">SLING-848</a> there may be one or multiple <strong>request path parameters</strong>  passed in the form <code>;&lt;key&gt;=&lt;value&gt;</code>. Those request path parameters are only supported directly after the <em>Resource Path</em> or after the <em>Extension</em>. The value needs to be enclosed in <code>'</code> if it contains a <code>.</code> and is not located after the extension. It is up to the <a href [...]
+<p>In addition since <a href="https://issues.apache.org/jira/browse/SLING-848">SLING-848</a> there may be one or multiple <strong>request path parameters</strong>  passed in the form <code>;&lt;key&gt;=&lt;value&gt;</code>. Those request path parameters are only supported directly after the <em>Resource Path</em> or after the <em>Extension</em>. The value needs to be enclosed in <code>'</code> if it contains a <code>.</code> and is not located after the extension. It is up to the <a href [...]
 <p>The decomposed parts can be accessed through the <code>RequestPathInfo</code> object, which is retrieved via <a href="https://sling.apache.org/apidocs/sling7/org/apache/sling/api/SlingHttpServletRequest.html#getRequestPathInfo--">SlingHttpServletRequest.getPathInfo()</a>.</p>
 <p>There's a cheat sheet in Adobe's AEM documentation at <a href="https://docs.adobe.com/docs/en/aem/6-2/develop/platform/sling-cheatsheet.html">https://docs.adobe.com/docs/en/aem/6-2/develop/platform/sling-cheatsheet.html</a> available to get you familiar with the URL decomposition of Sling.</p>
 <h1><a href="#examples" id="examples">Examples</a></h1>
@@ -152,6 +152,8 @@
 <tr><td> /a/b.html/c/d.s.txt       </td><td> /a/b </td><td> null  </td><td> html </td><td> /c/d.s.txt </td><td> yes </td></tr>
 <tr><td> /a/b.s1.html/c/d.s.txt    </td><td> /a/b </td><td> s1    </td><td> html </td><td> /c/d.s.txt </td><td> yes </td></tr>
 <tr><td> /a/b.s1.s2.html/c/d.s.txt </td><td> /a/b </td><td> s1.s2 </td><td> html </td><td> /c/d.s.txt </td><td> yes </td></tr>
+<tr><td> /a/b.s1;v='1.0'.html/c/d        </td><td> /a/b </td><td> s1  </td><td> html </td><td> /c/d       </td><td> yes, in case Resource Provider supports request path parameter <code>v</code> with value <code>1.0</code> </td></tr>
+<tr><td> /a/b.html;v=1.0/c/d        </td><td> /a/b </td><td> null  </td><td> html </td><td> /c/d       </td><td> yes, in case Resource Provider supports request path parameter <code>v</code> with value <code>1.0</code> </td></tr>
 </tbody>
 </table>
 <h1><a href="#automated-tests" id="automated-tests">Automated Tests</a></h1>
@@ -168,7 +170,7 @@
             </div><footer class="footer">
                 <div class="content has-text-centered is-small">
 <div class="revisionInfo">
-                        Last modified by <span class="author">Konrad Windszus</span> on <span class="comment">Thu Aug 6 12:34:27 2020 +0200</span>
+                        Last modified by <span class="author">Konrad Windszus</span> on <span class="comment">Fri Aug 14 10:29:33 2020 +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>