Package: libnss-ldap Version: 251-4 Followup-For: Bug #375108 # escape slash and backslash for later regex compat # the order is important, first the backslashes value=`echo $value | sed -s 's#\\\#\\\\\\\#g'` # then the slashes value=`echo $value | sed -s 's#/#\\\/#g'` # escape hyphen in domainnames for later regex compat (ex. example-city.net) value=`echo $value | sed -s 's#-#\\-#g'`
Have you actually tested your fix ? for a quick working fix: move the - escaping before the \ escaping or double the \ in the remplacement... -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (1200, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-rc3 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]