Suggestion for addition to path-based authentication

C. Michael Pilato cmpilato at red-bean.com
Thu Apr 18 09:36:06 CDT 2013


Good suggestion, Joe.  I committed the following patch in r4464:

Index: book/ch06-server-configuration.xml
===================================================================
--- book/ch06-server-configuration.xml    (revision 4462)
+++ book/ch06-server-configuration.xml    (working copy)
@@ -4254,10 +4254,15 @@ 

       <note>
         <para>Paths used in access file sections must be specified
-          using Subversion's <quote>internal style</quote>, which mostly
-          just means that they use forward slash (<literal>/</literal>)
-          characters as directory separators (even on Windows
-          systems).</para>
+          using Subversion's <quote>internal style</quote>, which
+          mostly just means that they are encoded in UTF-8 and use
+          forward slash (<literal>/</literal>) characters as directory
+          separators (even on Windows systems).  Note also that these
+          paths do not employ any character escaping mechanism (such
+          as URI-encoding)—spaces in path names should be
+          represented exactly as such in access file section names
+          (<literal>[repos-name:path with spaces]</literal>,
+          e.g.)</para>
       </note>

       <para>Here's a simple example demonstrating a piece of the



On 04/05/2013 09:08 PM, Joseph Morris wrote:
> Hi SVN Bookers,
>
> Thanks for the great free resource.  I think it would be worth a line or
> two on this page:
>
> http://svnbook.red-bean.com/en/1.7/svn.serverconfig.pathbasedauthz.html
>
> about how to deal with escaping characters (or rather, not escaping
> characters) in the authz file.  Something along these lines:
>
> http://stackoverflow.com/questions/8317074/subversion-authz-path-containing-spaces
>
>
> Joe
>
>





More information about the svnbook-dev mailing list