We have some HTML in the ldif during export if debug is activate
Description
We have some HTML in the ldif during export if debug is activate
<div id="debug-handling" class="notice"><img src="geticon.php?context=status&icon=dialog-information&size=22" alt="info icon" style="vertical-align:middle;margin-right:.2em;"/>There is some debug output <button onClick="javascript:$$('div.debug_div').each(function (a) { a.toggle(); });">Toggle</button></div><div class="debug_div">DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:save_object():226) - Saving: 'ldapmanager'</div>
<div class="debug_div">DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:save_object():1069) - save_object: 'new'</div>
Distribution Name and Version
Ubuntu LTS
FusionDirectory Version
1.3-dev
Plugin with the defect
ldapmanager
PHP version used
7.0
Origin of php packages
Ubuntu
Steps to Reproduce
- Activate debug
- Export a branch with LDAP Export
- Read the LDIF
Expected behavior:
Not add the debug part in the ldif
Actual behavior:
THe ldif contain a debug part
Reproduces how often: 100%