mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
fix bug in '%' escaping in substitution pattern compile
This commit is contained in:
parent
118ca0dd4b
commit
511e8b606f
1 changed files with 3 additions and 1 deletions
|
|
@ -57,7 +57,9 @@ rewrite_subst_compile(
|
|||
*/
|
||||
if ( p[ 0 ] != REWRITE_SUBMATCH_ESCAPE ) {
|
||||
continue;
|
||||
} else if ( p[ 1 ] == REWRITE_SUBMATCH_ESCAPE ) {
|
||||
}
|
||||
if ( p[ 1 ] == REWRITE_SUBMATCH_ESCAPE ) {
|
||||
memmove(p, p + 1, strlen( p ) );
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue