Authz subversion path containing spaces

How to configure an authz file for a path that contains spaces?

I tried various methods to avoid spaces, but none of them worked.

[/"some path"] [/some%20path] [/some\ path] [\"some path\"] 
+6
source share
1 answer

I just checked the svn source code and the parser file (in libsvn_subr / config_file.c: svn_config__parse_file ()) resolves everything inside the square brackets except "]", "\ n". In other words, it should work without any problems.

To confirm this, I added this rule to the repository from scratch:

 [/a/some really long name.xlsx] * = 

As expected, he denied me access. In addition, I checked my production repositories and found some examples of such rules, so it should work, otherwise I would have received complaints before that :)

+3
source

Source: https://habr.com/ru/post/902694/


All Articles