Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-04-24 12:02:07 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-04-25 21:47:18 +0300
commit945420baaf1e06f1e6509013fc744c5aa67c89a3 (patch)
tree8d166dbc46cc4ebdbb391f82c2e892e2e7c8bd70 /core/routes.php
parent5c29fb16c07a7a3730c19275779145b8bf617119 (diff)
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 <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/routes.php b/core/routes.php
index 0e882c625fc..02556c3a50d 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -57,7 +57,7 @@ $application->registerRoutes($this, [
['name' => 'Preview#getPreview', 'url' => '/core/preview.png', 'verb' => 'GET'],
['name' => 'Css#getCss', 'url' => '/css/{appName}/{fileName}', 'verb' => 'GET'],
['name' => 'Js#getJs', 'url' => '/js/{appName}/{fileName}', 'verb' => 'GET'],
- ['name' => 'contactsMenu#index', 'url' => '/contactsmenu/contacts', 'verb' => 'GET'],
+ ['name' => 'contactsMenu#index', 'url' => '/contactsmenu/contacts', 'verb' => 'POST'],
],
'ocs' => [
['root' => '/cloud', 'name' => 'OCS#getCapabilities', 'url' => '/capabilities', 'verb' => 'GET'],