{"action":"opened","issue":{"url":"https://api.github.com/repos/privacyidea/privacyidea/issues/592","repository_url":"https://api.github.com/repos/privacyidea/privacyidea","labels_url":"https://api.github.com/repos/privacyidea/privacyidea/issues/592/labels{/name}","comments_url":"https://api.github.com/repos/privacyidea/privacyidea/issues/592/comments","events_url":"https://api.github.com/repos/privacyidea/privacyidea/issues/592/events","html_url":"https://github.com/privacyidea/privacyidea/issues/592","id":199801005,"number":592,"title":"Searchfilter with Umlaut will fail to search in LDAP Resolver","user":{"login":"cornelinux","id":1908620,"avatar_url":"https://avatars.githubusercontent.com/u/1908620?v=3","gravatar_id":"","url":"https://api.github.com/users/cornelinux","html_url":"https://github.com/cornelinux","followers_url":"https://api.github.com/users/cornelinux/followers","following_url":"https://api.github.com/users/cornelinux/following{/other_user}","gists_url":"https://api.github.com/users/cornelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/cornelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornelinux/subscriptions","organizations_url":"https://api.github.com/users/cornelinux/orgs","repos_url":"https://api.github.com/users/cornelinux/repos","events_url":"https://api.github.com/users/cornelinux/events{/privacy}","received_events_url":"https://api.github.com/users/cornelinux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-10T11:49:20Z","updated_at":"2017-01-10T11:49:20Z","closed_at":null,"body":"Please think about and cover the following questions:\r\n\r\n# Versions\r\ncurrent 2.17, 2.18dev\r\n\r\n# What did you try to do?\r\nIn Userview search for user with umlaut like\r\n* k\r\n* kö\r\n* kölbel\r\n\r\n# What outcome did you expect?\r\n\r\nI expected to find \"kölbel\"\r\n\r\n# What outcome did you experience?\r\n\r\nDid not find it.\r\n\r\n# Log file\r\n<pre>\r\n[2017-01-10 12:40:56,180][4465][139699578787584][DEBUG][privacyidea.lib.user:635] Traceback (most recent call last):\r\n  File \"/home/cornelius/src/privacyidea/privacyidea/lib/user.py\", line 620, in get_user_list\r\n    ulist = y.getUserList(searchDict)\r\n  File \"/home/cornelius/src/privacyidea/privacyidea/lib/resolvers/LDAPIdResolver.py\", line 459, in getUserList\r\n    filter += \"({0!s}={1!s})\".format(self.userinfo[search_key], searchDict[search_key])\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\xf6' in position 2: ordinal not in range(128)\r\n</pre>"}}
{"actor":{"display_login":"cornelinux"}}