mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Merge pull request #4721 from mabashian/4710-job-details-busted
Only try to regex replace quotes in strings (smart search)
This commit is contained in:
commit
824996d3a1
@ -80,7 +80,9 @@ export default ['$q', 'Rest', 'ProcessErrors', '$rootScope', 'Wait', 'DjangoSear
|
||||
return concated;
|
||||
}
|
||||
else {
|
||||
value = value.replace(/"|'/g, "");
|
||||
if(value && typeof value === 'string') {
|
||||
value = value.replace(/"|'/g, "");
|
||||
}
|
||||
return `${key}=${value}&`;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user