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

Parsing quoted string fails on space and equal operator. #1

Open
coreybutler opened this issue Apr 25, 2020 · 0 comments
Open

Parsing quoted string fails on space and equal operator. #1

coreybutler opened this issue Apr 25, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@coreybutler
Copy link
Member

Either of the following should work, but fail:

cfw run -r -hdr "CF-IPCountry: US" demo.js
cfw run -r -hdr "CF-IPCountry=US" demo.js

This works:

Notice there is no space after the : in the hdr flag.

cfw run -r -hdr "CF-IPCountry:US" demo.js

This is most likely a failure in the Regex that parses strings with quotes, or with the hyphen.

@coreybutler coreybutler self-assigned this Apr 25, 2020
@coreybutler coreybutler added the bug Something isn't working label Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant