Skip to content

Conversation

@fuweichin
Copy link

The goal of this change is to parse nginx configure arguments which can be get by nginx -V.

TODO This PR isn't ready to be merged to the master branch directly, I hope someone checkout the commit, update the tests and merge the changes. I'm using Visual Studio 2022, so some old targets (like .net45,.netstandard1.6) may not be covered.

BREAKING CHANGE: quote with single quotes are not supported, comes double quote escaping and backslash escaping.

The goal of this change is to parse nginx configure arguments which can be get by `nginx -V`.

TODO Tests need to be updated.

BREAKING CHANGE: quote with single quotes are not supported, double quote escaping and backslash escaping.
Allow double-quotes and spaces when separators are set to equal (=) and/or colon (:), base on previous commit "refactor: Use CommandLineToArgvW equivalents to parse args line".

This maybe a BREAKING CHANGE, empty arg values are also allowed now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant