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

JSON data with \u0000 errors in Postgres with "unsupported Unicode escape sequence" #93

Closed
e-gineer opened this issue Mar 17, 2021 · 0 comments

Comments

@e-gineer
Copy link
Contributor

Describe the bug

Running this query

select * from shodan_search where query = 'ssh -port:22'

Seems to return some JSON data with \u0000, leading to the error:

Error: unsupported Unicode escape sequence

Steampipe version (steampipe -v)
Example: v0.2.5

To reproduce

> select * from shodan_search where query = 'ssh -port:22'
Error: unsupported Unicode escape sequence

Expected behavior

I'd expect the JSON column handler to either strip the null field \u0000 out to fix the parsing, or to replace the JSON with error content.

Additional context

N/A

@kaidaguerre kaidaguerre transferred this issue from turbot/steampipe Aug 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