How do I setup the authz file for a path which contains spaces?
I tried various methods to escape the spaces but none of them worked.
[/"some path"]
[/some%20path]
[/some\ path]
[\"some path\"]
I just checked the svn source code and the file parser (in libsvn_subr/config_file.c:svn_config__parse_file()) allows anything inside the square brackets except a "]", "\n". In other words, it should work with no escaping whatsoever.
To confirm this I added this rule to a scratch repository:
[/a/some really long name.xlsx]
* =
As expected, it denied me access. Furthermore, I checked my production repositories and found several instances of rules like that, so it must work, otherwise I would have gotten complaints before now :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With