Skip to content

Commit

Permalink
fix: protect double quotes from being escaped when rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
raymond-u committed Mar 15, 2024
1 parent ba47d5e commit 6dc3f6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ mutators:
enabled: true
config:
headers:
X-Remote-User: {{ '"{{ if .Extra.identity }}{{ .Extra.identity.traits.username }}{{ else }}{{ .Subject }}{{ end }}"' }}
X-Remote-User: '{{ '{{ if .Extra.identity }}{{ .Extra.identity.traits.username }}{{ else }}{{ .Subject }}{{ end }}' }}'

errors:
handlers:
Expand Down

0 comments on commit 6dc3f6c

Please sign in to comment.