From c0e02f4a65cb087d910b05a43b8d0dbe96109aac Mon Sep 17 00:00:00 2001 From: Leigh Johnson Date: Mon, 18 Jul 2016 13:34:53 -0400 Subject: [PATCH] fix missing URI encoding in event summary serch, kickback on #2980 (#3050) --- .../src/job-detail/host-summary/host-summary.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/job-detail/host-summary/host-summary.controller.js b/awx/ui/client/src/job-detail/host-summary/host-summary.controller.js index 34763c838e..d5c826ac35 100644 --- a/awx/ui/client/src/job-detail/host-summary/host-summary.controller.js +++ b/awx/ui/client/src/job-detail/host-summary/host-summary.controller.js @@ -104,7 +104,7 @@ Wait('start'); JobDetailService.getJobHostSummaries($stateParams.id, { page_size: page_size, - host_name__icontains: $scope.searchTerm, + host_name__icontains: encodeURIComponent($scope.searchTerm), }).success(function(res){ $scope.hosts = res.results; $scope.next = res.next;