From 26182f1004eb5c22a2963abbfd540526b45364f7 Mon Sep 17 00:00:00 2001 From: diosmosis <benaka@piwik.pro> Date: Tue, 4 Nov 2014 11:28:02 -0800 Subject: [PATCH] Add note about CliMulti URL encoding to method docs. --- core/CliMulti.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/CliMulti.php b/core/CliMulti.php index 8ecc03043c..992a4e1dd4 100644 --- a/core/CliMulti.php +++ b/core/CliMulti.php @@ -51,7 +51,11 @@ class CliMulti { * If multi cli is not supported (eg windows) it will initiate an HTTP request instead (not async). * * @param string[] $piwikUrls An array of urls, for instance: - * array('http://www.example.com/piwik?module=API...') + * + * `array('http://www.example.com/piwik?module=API...')` + * + * **Make sure query parameter values are properly encoded in the URLs.** + * * @return array The response of each URL in the same order as the URLs. The array can contain null values in case * there was a problem with a request, for instance if the process died unexpected. */ -- GitLab