Infos:
- Used Zammad version: 5.3.0
- Used Zammad installation type: package
- Operating system: Oracle Linux Server 8.6
- Browser + version: Chrome + 103
Expected behavior:
When creating the ldap filter it should be accepted, the filter is correct
Filter example:
(&(objectCategory=person)(!userAccountControl:1.2.840.113556.1.4.803:=2)(objectClass=user)(samaccountname=*))
This filter will fetch all accounts that are active on AD!
Actual behavior:
When inserting the filter and moving forward, an error message is displayed stating that the filter is invalid, I did several tests and this behavior only occurs when the filter sentence contains the character “!” which would be a correct expression
Clicking on Continue
Steps to reproduce the behavior:
Insert an ldap filter that contains the character “!” exclamation