Module uses CSRF tokens for the autocomplete callback. That makes no sense in terms of security (no actual action is done there it is needed for delete/update/create operations, not read) and it makes impossible to write the tests for the autocomplete widget (as tests don't have proper session storage for that)
Issue fork private_message-3337186
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
denist3r commentedRemoved _csrf_token: 'TRUE' requirement for privateMessageMembersAutocomplete callback.
Checked also for ajaxCallback, but it significant to keep _csrf_token here, because of CRUD operations related to that callback.
Comment #6
artem_sylchukYeah, makes sense, however I think the manual setting the token option for the url in uneccessary as along as route has that in requirement. But better to keep it separated.