diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-07-01 16:32:37 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-07-01 16:32:37 +0300 |
commit | ea0ac693c9456a5387cf636beff0542f6479f937 (patch) | |
tree | 3580b55b8412d67ea0c5c4df803e39259f70ae4f /plugins/CoreHome/DataTableRowAction/RowEvolution.php | |
parent | cfe56a0adc64e582e678d8cb1d08fd9f5beb9d21 (diff) |
Make Row evolution work when Label contain & character
Diffstat (limited to 'plugins/CoreHome/DataTableRowAction/RowEvolution.php')
-rw-r--r-- | plugins/CoreHome/DataTableRowAction/RowEvolution.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/CoreHome/DataTableRowAction/RowEvolution.php b/plugins/CoreHome/DataTableRowAction/RowEvolution.php index c27dc28529..3877c4c1c6 100644 --- a/plugins/CoreHome/DataTableRowAction/RowEvolution.php +++ b/plugins/CoreHome/DataTableRowAction/RowEvolution.php @@ -144,9 +144,10 @@ class RowEvolution { list($apiModule, $apiAction) = explode('.', $this->apiMethod); + // getQueryStringFromParameters expects sanitised query parameter values $parameters = array( 'method' => 'API.getRowEvolution', - 'label' => urlencode($this->label), + 'label' => Common::sanitizeInputValue($this->label), 'apiModule' => $apiModule, 'apiAction' => $apiAction, 'idSite' => $this->idSite, |