[Bug]: single quotes being escaped in env variables #16987
Labels
Backend
This marks the issue or pull request to reference server code
Bug
Something isn't working
DevOps Pod
Issues related to devops
@sharat87 Sending a value with quotes to the api(v1/admin/env) is resulting in quotes getting escaped. Added some points below which describes the issue.
settings.mov
If I send the value as
'none'
from the client it stores it asnone
without the quotes in the env file. Checking on the browser also showsnone
without quotes. I believe it should beAPPSMITH_ALLOWED_FRAME_ANCESTORS="'none'"
instead.Same case with sending
'self'
Additionally if I send the value as
'self' release.app.appsmith.com
the env file stores it asIn this case it does get applied properly though when I check the same in the browser
If you want the frontend to debug it is at #16629
Originally posted by @akash-codemonk in #16597 (comment)
The text was updated successfully, but these errors were encountered: