Shelly 3EM: url-encode user/password (#15308)
This commit is contained in:
parent
27e28f5788
commit
e9b4309cf6
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ params:
|
|||
advanced: true
|
||||
render: |
|
||||
{{- define "uri" -}}
|
||||
http://{{ if .user }}{{ .user }}:{{ .password }}@{{ end }}{{ .host }}
|
||||
http://{{ if .user }}{{ urlEncode .user }}:{{ urlEncode .password }}@{{ end }}{{ .host }}
|
||||
{{- end }}
|
||||
type: custom
|
||||
power:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue