Open vapniks opened 3 years ago
Looks like it was introduced in commit e9559924. The line for opt in "$@"; do all_opts+=($(printf '%q' "$opt")) ; done
results in '&' between query parameters being escaped to '\&'
Example escape:
printf '%q' "p1=v1&p2=v2"
outputs 'p1=v1\&p2=v2'
edit: escape backslash in Markdown
In zsh this works:
but this doesn't
It appears that resty quotes the ampersand:
am I doing something wrong?