NetComposer / nklib

NetComposer common library functions
Apache License 2.0
11 stars 38 forks source link

PISTON-689: remove quotes used for opts_value from output record #16

Closed danielfinke closed 5 years ago

danielfinke commented 5 years ago

Instead of keeping quotes used to surround an opts_value, remove them from the output uri record. This is the main purpose of this PR.

Also, support escaped inner quoted strings within the opts_value, even if it is quoted as a whole. This results in the last of the changed tests - while you're still in the inner quoted string, a lone double quote shouldn't indicate the end of the opts_value. Rather, it should just be treated as part of the inner quoted string.

kalta commented 5 years ago

Looks good. Thank you.