[Date Prev][Date Next] [Chronological] [Thread] [Top]

Escaped characters not properly supported in sasl-regexp (ITS#2534)



Full_Name: Edward Flick
Version: 2.1.17
OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (65.70.122.193)


When you define sasl-regexp with escaped characters in the match pattern, slapd
incorrectly assumes an escaped C style sequence instead of a regular expression
interpretation of the '\' .

Quick fix: use '\\' before any needed escaped character in the regex

Not high priority, but it was very irritating until I figured out what was going
on.  Hope this saves some people some time.