mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
Merge pull request #4699 from mabashian/4175-fix-it
Fixed bug where organization with a & in it was causing failed api requests
This commit is contained in:
commit
3be2da061a
@ -484,7 +484,7 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'JobsHelper'])
|
||||
function applyValidation(viewValue) {
|
||||
basePath = GetBasePath(elm.attr('data-basePath')) || elm.attr('data-basePath');
|
||||
query = elm.attr('data-query');
|
||||
query = query.replace(/\:value/, encodeURI(viewValue));
|
||||
query = query.replace(/\:value/, encodeURIComponent(viewValue));
|
||||
Rest.setUrl(`${basePath}${query}`);
|
||||
// https://github.com/ansible/ansible-tower/issues/3549
|
||||
// capturing both success/failure conditions in .then() promise
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user