allow environment variables in request body. (#1942)
* feat: allow environment variables in request body * chore(ui): minor ui improvements * chore(deps): bump * fix: track env vars changes * feat: allow environment variables in request body * refactor: better implementation Co-authored-by: liyasthomas <liyascthomas@gmail.com> Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
@@ -461,7 +461,8 @@ export default defineComponent({
|
||||
return "choose an environment"
|
||||
},
|
||||
getEnvValue(value) {
|
||||
if (value) return value
|
||||
if (value) return value.replace(/"/g, """)
|
||||
// it does not filter special characters before adding them to HTML.
|
||||
return "not found"
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user