|
|
6bbd11 |
autofs-5.1.0-beta1 - add plus to path match pattern
|
|
|
6bbd11 |
|
|
|
6bbd11 |
From: Ian Kent <raven@themaw.net>
|
|
|
6bbd11 |
|
|
|
6bbd11 |
The pattern matching in the tokenizer is very strict and quite
|
|
|
6bbd11 |
limited. That's been done (initially) to ensure that the parsing
|
|
|
6bbd11 |
of other parts of map entries is accurate and to ensure that
|
|
|
6bbd11 |
error cases are handled cleanly since the strict matching will
|
|
|
6bbd11 |
cause errors.
|
|
|
6bbd11 |
|
|
|
6bbd11 |
I don't want to open up patterns that probably need it to accept
|
|
|
6bbd11 |
a wide range of characters just yet but adding "+" to the match
|
|
|
6bbd11 |
is obviously needed.
|
|
|
6bbd11 |
---
|
|
|
6bbd11 |
CHANGELOG | 1 +
|
|
|
6bbd11 |
modules/amd_tok.l | 2 +-
|
|
|
6bbd11 |
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
6bbd11 |
|
|
|
6bbd11 |
--- autofs-5.0.7.orig/CHANGELOG
|
|
|
6bbd11 |
+++ autofs-5.0.7/CHANGELOG
|
|
|
6bbd11 |
@@ -121,6 +121,7 @@
|
|
|
6bbd11 |
- fix ldap_uri config update.
|
|
|
6bbd11 |
- fix typo in conf_load_autofs_defaults().
|
|
|
6bbd11 |
- fix hash on confg option add and delete.
|
|
|
6bbd11 |
+- add plus to path match pattern.
|
|
|
6bbd11 |
|
|
|
6bbd11 |
25/07/2012 autofs-5.0.7
|
|
|
6bbd11 |
=======================
|
|
|
6bbd11 |
--- autofs-5.0.7.orig/modules/amd_tok.l
|
|
|
6bbd11 |
+++ autofs-5.0.7/modules/amd_tok.l
|
|
|
6bbd11 |
@@ -81,7 +81,7 @@ V4NUM ([01]?[0-9][0-9]?|2[0-4][0-9]|25[
|
|
|
6bbd11 |
MACRO (\$\{([[:alpha:]_/]([[:alnum:]_\-])([[:alnum:]_\-/])*)\})
|
|
|
6bbd11 |
QSTR (\"([^"\\]|\\.)*\")
|
|
|
6bbd11 |
OSTR ([[:alpha:]]([[:alnum:]_\-])+)
|
|
|
6bbd11 |
-FSTR ([[:alnum:]_/\.]([[:alnum:]_\-/\.]|(\\.))*)
|
|
|
6bbd11 |
+FSTR ([[:alnum:]_/\.]([[:alnum:]_\-/\+\.]|(\\.))*)
|
|
|
6bbd11 |
VSTR (([[:alnum:]_\-\:/\.])+)
|
|
|
6bbd11 |
SSTR ([[:alpha:]]([[:alnum:]\-\.])+)
|
|
|
6bbd11 |
IP4ADDR ({V4NUM}\.((({V4NUM}\.){0,2}){V4NUM}?))
|