leenooks / phpLDAPadmin

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

Fix #238 - Don't htmlescape request DNs #239

Closed lscorcia closed 11 months ago

lscorcia commented 11 months ago

Fixes issue #238 - currently DNs are htmlescaped while read from the request object, this makes searches fail when looking for html-escaped characters (ampersands, apostrophes, quotes, etc.).

williamdes commented 11 months ago

This fix should be for branch 1.2 I am not sure how you managed to fix it on master branch since it's very different :) Does it work?

lscorcia commented 11 months ago

Honestly, now that I look at it again I'm confused too, must have misclicked something in the GitHub UI. However I can confirm that the fix works, we have already patched our installation. I'll try to fix the PR :)