]> granicus.if.org Git - apache/commitdiff
Update transforms
authorDaniel Earl Poirier <poirier@apache.org>
Wed, 16 Mar 2011 16:58:30 +0000 (16:58 +0000)
committerDaniel Earl Poirier <poirier@apache.org>
Wed, 16 Mar 2011 16:58:30 +0000 (16:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082207 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/developer/new_api_2_4.html.en
docs/manual/mod/core.html.en
docs/manual/mod/core.xml.de
docs/manual/mod/core.xml.ja
docs/manual/mod/core.xml.tr
docs/manual/mod/mod_ldap.html.en
docs/manual/mod/mod_ldap.html.fr
docs/manual/mod/quickreference.html.en
docs/manual/mod/quickreference.html.ko.euc-kr
docs/manual/mod/quickreference.html.zh-cn
docs/manual/rewrite/rewritemap.html.en

index 087f7164dfad20bce5c7b10f4b4b201777c0b8d8..f272c5fa639cca5f8036bea3ba590f7620b49581 100644 (file)
        code will remain compatible with HTTPD 2.0 and 2.2.</p>
 
     <p>Consider the following changes to take advantage of the new
-       <code>APLOG_TRACE1..8</code> log levels:
+       <code>APLOG_TRACE1..8</code> log levels:</p>
        <ul>
          <li>Check current use of <code>APLOG_DEBUG</code> and
          consider if one of the <code>APLOG_TRACEn</code> levels is
          configured log level, use the <code>APLOGtrace<em>n</em></code>
          and <code>APLOGrtrace<em>n</em></code> macros to first check
          if tracing is enabled.</li>
-       </ul></p>
+       </ul>
 
     <p>Modules sometimes add process id and/or thread id to their log
        messages.  These ids are now logged by default, so it may not
 
   <h3><a name="upgrading_newfeatures" id="upgrading_newfeatures">Does your module...</a></h3>
     
+    <dl>
     <dt>Parse query args</dt>
     <dd>Consider if <code>ap_args_to_table()</code> would be
     helpful.</dd>
 
     <dt>Implement cleanups which clear pointer variables</dt>
     <dd>Use <code>ap_pool_cleanup_set_null()</code>.</dd>
+    </dl>
   
 
 </div></div>
index 0c7ad073c921834ef805d7ed1b14840efccab054..7cda3975a66100fc7719b7db6dd1f22c7f632c76 100644 (file)
@@ -354,26 +354,35 @@ content-type is <code>text/plain</code> or <code>text/html</code></td></tr>
 <table class="directive">
 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Determines whether encoded path separators in URLs are allowed to
 be passed through</td></tr>
-<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AllowEncodedSlashes On|Off</code></td></tr>
+<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AllowEncodedSlashes On|Off|NoDecode</code></td></tr>
 <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AllowEncodedSlashes Off</code></td></tr>
 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr>
 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Core</td></tr>
 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>core</td></tr>
-<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Available in Apache httpd 2.0.46 and later</td></tr>
+<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Available in Apache httpd 2.0.46 and later.
+NoDecode option available in 2.3.12 and later.</td></tr>
 </table>
     <p>The <code class="directive">AllowEncodedSlashes</code> directive allows URLs
     which contain encoded path separators (<code>%2F</code> for <code>/</code>
     and additionally <code>%5C</code> for <code>\</code> on according systems)
-    to be used. Normally such URLs are refused with a 404 (Not found) error.</p>
+    to be used in the path info.</p>
+
+    <p>With the default value, <code>Off</code>, such URLs are refused
+    with a 404 (Not found) error.</p>
+
+    <p>With the value <code>On</code>, such URLs are accepted, and encoded
+      slashes are decoded like all other encoded characters.</p>
+
+    <p>With the value <code>NoDecode</code>, such URLs are accepted, but
+      encoded slashes are not decoded but left in their encoded state.</p>
 
     <p>Turning <code class="directive">AllowEncodedSlashes</code> <code>On</code> is
     mostly useful when used in conjunction with <code>PATH_INFO</code>.</p>
 
     <div class="note"><h3>Note</h3>
-      <p>Allowing encoded slashes does <em>not</em> imply <em>decoding</em>.
-      Occurrences of <code>%2F</code> or <code>%5C</code> (<em>only</em> on
-      according systems) will be left as such in the otherwise decoded URL
-      string.</p>
+      <p>If encoded slashes are needed in path info, use of <code>NoDecode</code> is
+      strongly recommended as a security measure.  Allowing slashes
+      to be decoded could potentially allow unsafe paths.</p>
     </div>
 
 <h3>See also</h3>
index 914fd65767032fb6e5b61919660c8b3caab156fd..afa7f2973fd88b8b13a46c99bca143e7c63d8eb3 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 344972:1071221 (outdated) -->
+<!-- English Revision: 344972:1082196 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index d46b4e857033a1591f3963d19598f06282829b43..ce638f79243bb3c8bf0263343b82a8fbea8f45c1 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 669847:1071221 (outdated) -->
+<!-- English Revision: 669847:1082196 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 0ebb4bf5b0bbc82eee4329bd6f2eaf817299b482..de2365872918af186ef2c0415a82c7697f826c8c 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 813376:1071221 (outdated) -->
+<!-- English Revision: 813376:1082196 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>
index 7917ba018813e30123986c8acd8e902fd11ce5b0..5fd36f457393f7be528eb864e899045856795b57 100644 (file)
@@ -479,6 +479,7 @@ by other LDAP modules</td></tr>
 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr>
 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_ldap</td></tr>
+<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Apache HTTP Server 2.3.12 and later</td></tr>
 </table>
     <p>Specifies the maximum age, in seconds, that a pooled LDAP connection can remain idle
     and still be available for use.  Connections are cleaned up when they are next needed, 
index e337118684af00a4e67ab2abbe9d310d0c0331f6..ff2dfa9d79c92ada0edb0f3b1c27ec536e093c0f 100644 (file)
@@ -507,6 +507,7 @@ valides.</td></tr>
 <tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>configuration du serveur, serveur virtuel</td></tr>
 <tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Extension</td></tr>
 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_ldap</td></tr>
+<tr><th><a href="directive-dict.html#Compatibility">Compatibilité:</a></th><td>Apache HTTP Server 2.3.12 and later</td></tr>
 </table><p>La documentation de cette directive
        n'a pas encore t traduite. Veuillez vous reporter  la version
        en langue anglaise.</p></div>
index 986dbe946c97004d4a868e134ca2bc9a37519a7a..99e7a964602b00d7ee69f5d4c217a673775add5b 100644 (file)
@@ -118,7 +118,7 @@ server</td></tr>
 <tr><td><a href="mod_proxy_connect.html#allowconnect">AllowCONNECT <var>port</var>[-<var>port</var>]
 [<var>port</var>[-<var>port</var>]] ...</a></td><td> 443 563 </td><td>sv</td><td>E</td></tr><tr><td class="descr" colspan="4">Ports that are allowed to <code>CONNECT</code> through the
 proxy</td></tr>
-<tr class="odd"><td><a href="core.html#allowencodedslashes">AllowEncodedSlashes On|Off</a></td><td> Off </td><td>sv</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">Determines whether encoded path separators in URLs are allowed to
+<tr class="odd"><td><a href="core.html#allowencodedslashes">AllowEncodedSlashes On|Off|NoDecode</a></td><td> Off </td><td>sv</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">Determines whether encoded path separators in URLs are allowed to
 be passed through</td></tr>
 <tr><td><a href="mod_allowmethods.html#allowmethods">AllowMethods reset|<em>HTTP-method</em> 
 [<em>HTTP-method</em>]...</a></td><td> reset </td><td>d</td><td>X</td></tr><tr><td class="descr" colspan="4">Changes absolutely nothing</td></tr>
index 1bf12e5a295ece70c9be86c65819c7af074578d9..5a2cd606799906af534aad3525494966f77e1878 100644 (file)
@@ -114,7 +114,7 @@ server</td></tr>
 <tr><td><a href="mod_proxy_connect.html#allowconnect">AllowCONNECT <var>port</var>[-<var>port</var>]
 [<var>port</var>[-<var>port</var>]] ...</a></td><td> 443 563 </td><td>sv</td><td>E</td></tr><tr><td class="descr" colspan="4">Ports that are allowed to <code>CONNECT</code> through the
 proxy</td></tr>
-<tr class="odd"><td><a href="core.html#allowencodedslashes">AllowEncodedSlashes On|Off</a></td><td> Off </td><td>sv</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">Determines whether encoded path separators in URLs are allowed to
+<tr class="odd"><td><a href="core.html#allowencodedslashes">AllowEncodedSlashes On|Off|NoDecode</a></td><td> Off </td><td>sv</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">Determines whether encoded path separators in URLs are allowed to
 be passed through</td></tr>
 <tr><td><a href="mod_allowmethods.html#allowmethods">AllowMethods reset|<em>HTTP-method</em> 
 [<em>HTTP-method</em>]...</a></td><td> reset </td><td>d</td><td>X</td></tr><tr><td class="descr" colspan="4">Changes absolutely nothing</td></tr>
index 7cf486e8651bfd8417f2f09f306c76a254bdca3c..3937b57182e971baaa5de73bce09ae84e3a65305 100644 (file)
@@ -112,7 +112,7 @@ server</td></tr>
 <tr><td><a href="mod_proxy_connect.html#allowconnect">AllowCONNECT <var>port</var>[-<var>port</var>]
 [<var>port</var>[-<var>port</var>]] ...</a></td><td> 443 563 </td><td>sv</td><td>E</td></tr><tr><td class="descr" colspan="4">Ports that are allowed to <code>CONNECT</code> through the
 proxy</td></tr>
-<tr class="odd"><td><a href="core.html#allowencodedslashes">AllowEncodedSlashes On|Off</a></td><td> Off </td><td>sv</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">Determines whether encoded path separators in URLs are allowed to
+<tr class="odd"><td><a href="core.html#allowencodedslashes">AllowEncodedSlashes On|Off|NoDecode</a></td><td> Off </td><td>sv</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">Determines whether encoded path separators in URLs are allowed to
 be passed through</td></tr>
 <tr><td><a href="mod_allowmethods.html#allowmethods">AllowMethods reset|<em>HTTP-method</em> 
 [<em>HTTP-method</em>]...</a></td><td> reset </td><td>d</td><td>X</td></tr><tr><td class="descr" colspan="4">Changes absolutely nothing</td></tr>
index febcf95c1183ab51a0df195999e207c617412dfd..769a5a69719071d7f5625d2acbd9575184890c24 100644 (file)
@@ -121,7 +121,7 @@ may be used, and give examples of each.</p>
 <h2><a name="txt" id="txt">txt: Plain text maps</a></h2>
     
 
-    <p>When a MapType of <code>txt</code>is used, the MapSource is a filesystem path to a
+    <p>When a MapType of <code>txt</code> is used, the MapSource is a filesystem path to a
     plain-text mapping file, containing space-separated key/value pair
     per line. Optionally, a line may be contain a comment, starting with
     a '#' character.</p>