Skip to content

Commit 6624b00

Browse files
committed
fix: always quote cookie as atom
1 parent 15231db commit 6624b00

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/hocon_cli.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,8 @@ stringify(undefined) ->
407407
stringify(VMArgsProplist) ->
408408
[stringify_line(K, V) || {K, V} <- VMArgsProplist].
409409

410+
stringify_line('-setcookie', V) ->
411+
"-setcookie '" ++ V ++ "'";
410412
stringify_line(K, V) when is_list(V) ->
411413
io_lib:format("~s ~s", [K, V]);
412414
stringify_line(K, V) ->

0 commit comments

Comments
 (0)