Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arguments escape not uniform #96

Open
faceair opened this issue Sep 20, 2021 · 1 comment
Open

Arguments escape not uniform #96

faceair opened this issue Sep 20, 2021 · 1 comment

Comments

@faceair
Copy link

faceair commented Sep 20, 2021

Describe the bug

After the crossplane parse, I expect all arguments to be unescaped.

https://github.com/nginxinc/crossplane/blob/v0.5.7/tests/test_parse.py#L946
Here, arg1 is escaped, but arg2 is unescaped, where the data format is not uniform. My program is confused when dealing with the arguments of the directive and doesn't know when it should be manually unescape.

Expected behavior

'args': ['#arg 1', '#arg 2']
@faceair
Copy link
Author

faceair commented Oct 24, 2021

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

No branches or pull requests

1 participant