CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug] Environment variables quotes

Open Teneff opened this issue 1 year ago • 0 comments

Describe the bug

When adding/editing application and the value contains a special character, the value has to be wrapped in quotas ("), but if a value is wrapped in quotas, they are automatically removed

To Reproduce

Steps to reproduce the behavior:

  1. Go to App Store
  2. Install Swag
  3. Go to Environment Variables -> SUBDOMAINS
  4. Add value *
  5. see some directory listed as the value

or: 5. Go to Terminal 6. type echo $SUBDOMAINS and see the value as app bin command config defaults dev docker-mods donate.txt etc home init lib lsiopy media migrations mnt opt package proc root run sbin srv sys tmp usr var

Expected behavior

echo $SUBDOMAINS should ouput *

Screenshots

If applicable, add screenshots to help explain your problem.

image image
 - Version: v0.4.8

Teneff avatar May 10 '24 11:05 Teneff