You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2002/11/27 16:55:19 UTC

cvs commit: httpd-2.0/docs/manual/mod mod_speling.xml

martin      2002/11/27 07:55:19

  Modified:    docs/manual/mod mod_speling.xml
  Log:
  Caveat when using mod_speling in a DAV-enabled directory
  
  Revision  Changes    Path
  1.4       +7 -0      httpd-2.0/docs/manual/mod/mod_speling.xml
  
  Index: mod_speling.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_speling.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- mod_speling.xml	23 May 2002 14:50:11 -0000	1.3
  +++ mod_speling.xml	27 Nov 2002 15:55:19 -0000	1.4
  @@ -88,6 +88,13 @@
         get incorrectly treated as the negotiated file
         "<code>/stats.html</code>".</li>
       </ul>
  +
  +    <p>mod_speling should not be enabled in <a href="mod_dav.html">DAV</a>
  +    enabled directories, because it will try to "spell fix" newly created
  +    resource names against existing filenames, e.g., when trying to upload
  +    a new document <code>doc43.html</code> it might redirect to an existing
  +    document <code>doc34.html</code>, which is not what was intended.
  +    </p>
   </usage>
   
   </directivesynopsis>
  
  
  

Re: cvs commit: httpd-2.0/docs/manual/mod mod_speling.xml

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 27 Nov 2002 martin@apache.org wrote:

> martin      2002/11/27 07:55:19
>
>   Modified:    docs/manual/mod mod_speling.xml
>   Log:
>   Caveat when using mod_speling in a DAV-enabled directory

Ewww.  Isn't that a bug that should be fixed?  Shouldn't mod_speling punt
on anything other than GET?

Joshua.

Re: cvs commit: httpd-2.0/docs/manual/mod mod_speling.xml

Posted by André Malo <nd...@perlig.de>.
* martin@apache.org wrote:

>   +    <p>mod_speling should not be enabled in <a href="mod_dav.html">DAV</a>
>   +    enabled directories, because it will try to "spell fix" newly created
>   +    resource names against existing filenames, e.g., when trying to upload
>   +    a new document <code>doc43.html</code> it might redirect to an existing
>   +    document <code>doc34.html</code>, which is not what was intended.
>   +    </p>

hmm, really?

    /* We only want to worry about GETs */
    if (r->method_number != M_GET) {
        return DECLINED;
    }

a dav upload is not done with GET, so how is mod_speling involved?

nd
-- 
Da fällt mir ein, wieso gibt es eigentlich in Unicode kein
"i" mit einem Herzchen als Tüpfelchen? Das wär sooo süüss!
 
                                 -- Björn Höhrmann in darw