From 945420baaf1e06f1e6509013fc744c5aa67c89a3 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 24 Apr 2017 11:02:07 +0200 Subject: Use HTTP POST to retrieve the list of contacts We do not want to have sensitive information in the URL and therefore also not in the access log. Thus the GET request is replaced by a POST request. Signed-off-by: Christoph Wurst --- core/js/contactsmenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/js') diff --git a/core/js/contactsmenu.js b/core/js/contactsmenu.js index cad98c5d026..93d5c437197 100644 --- a/core/js/contactsmenu.js +++ b/core/js/contactsmenu.js @@ -476,7 +476,7 @@ _getContacts: function(searchTerm) { var url = OC.generateUrl('/contactsmenu/contacts'); return Promise.resolve($.ajax(url, { - method: 'GET', + method: 'POST', data: { filter: searchTerm } -- cgit v1.2.3