mlsorensen commented on PR #52:
URL: https://github.com/apache/cloudstack-go/pull/52#issuecomment-1488961731
Tested manually as well, first ensured spaces still get encoded to `%20`
instead of `+` by setting `custom.cs.identifier` to `my cloudstack`
```
params :=
client.Configuration.NewUpdateConfigurationParams("custom.cs.identifier")
params.SetValue("my cloudstack")
response, err := client.Configuration.UpdateConfiguration(params)
```
API Log:
```
GET
apiKey=xxxx&command=updateConfiguration&name=custom.cs.identifier&response=json&value=my%20cloudstack&signature=xxxx
200
{"updateconfigurationresponse":{"configuration":{"category":"Advanced","name":"custom.cs.identifier","value":"my
cloudstack","description":"Custom identifier for the cloudstack
installation","isdynamic":true}}}
```
Tested using asterisk in `consoleproxy.url.domain` by setting to
`*.turboio.com`:
```
params :=
client.Configuration.NewUpdateConfigurationParams("consoleproxy.url.domain")
params.SetValue("*.turboio.com")
response, err := client.Configuration.UpdateConfiguration(params)
```
API Log:
```
GET
apiKey=xxxx&command=updateConfiguration&name=consoleproxy.url.domain&response=json&value=*.turboio.com&signature=xxxx
200 {"updateconfigurationresponse":{"configuration":{"category":"Console
Proxy","name":"consoleproxy.url.domain","value":"*.turboio.com","description":"Console
proxy url domain","isdynamic":false}}}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]