leenooks / phpLDAPadmin

phpLDAPadmin - Web based LDAP administration tool
www.phpldapadmin.org
GNU General Public License v2.0
543 stars 170 forks source link

SLES 12.5: trouble with backslash #271

Open el-piewie opened 4 months ago

el-piewie commented 4 months ago

Suddenly there is a strange behaviour of PLA 1.2.6.7 around backslashes on SLES 12.5 here (php74-7.4.33-1.65.1, apache-2.4.51-35.41.1, openldap2-2.4.41-22.24.2).

I created and imported an ldif file including this value: *[[\:space:\]]*

if I open the DIT entry in PLA, and I select update this object (without modifying it) PLA wants to write this target value: *[[:space:]]*

What is happening around the backslash and how can I control the behaviour?

Update: Downgrading to 1.2.6.6 lets the problem disappear.

el-piewie commented 4 months ago

I could apply the following patches to 1.2.6.6 without getting into trouble with the sudo Patterns inside the DIT:

Now there is still code deviation to 1.2.6.7 in:

el-piewie commented 1 month ago

I can see the same behaviour of PLA 1.2.6.7-1 on ubuntu 22.04: PLA wants to eat my backslashes: .../log/[[\:space\:]] -> press update object -> ../log/[[\:space\:]]

el-piewie commented 1 month ago

on the SLES 12 System I applied all patches beside the revert patches. No problems with disappearing backslashes