Menu

#3041 base: strip leading and trailing quotes

5.19.07
fixed
Gary Lee
None
defect
unknown
-
major
False
2019-07-03
2019-05-17
Gary Lee
No

ConfigFileReader enables runtime 'reload' of .conf files. However, if the environment variable is surrounded by quotes, it adds the quotes to the value which is not the expected behaviour.

export FOO="foo"

FOO should contain just foo, not "foo".

Related

Wiki: ChangeLog-5.19.07

Discussion

  • Gary Lee

    Gary Lee - 2019-05-17
    • status: accepted --> review
     
  • Gary Lee

    Gary Lee - 2019-05-17
    • status: review --> fixed
     
  • Gary Lee

    Gary Lee - 2019-05-17

    commit 6bd164279a2fbd881c4700566960f3ede728f4df
    Author: Gary Lee gary.lee@dektech.com.au
    Date: Fri May 17 21:02:05 2019 +1000

    base: strip leading and trailing quotes [#3041]
    
    ConfigFileReader enables runtime 'reload' of .conf files.
    However, if the environment variable is surrounded by quotes,
    it adds the quotes to the value which is not the expected behaviour.
    
    export FOO="foo"
    
    FOO should contain just foo, not "foo".
    
     

Log in to post a comment.