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;