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

A quote in a field doesn't throw an exception #76

Open
51-code opened this issue Sep 19, 2024 · 0 comments
Open

A quote in a field doesn't throw an exception #76

51-code opened this issue Sep 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@51-code
Copy link
Contributor

51-code commented Sep 19, 2024

Describe the bug

Running a query like this:
index=abc host=test"localhost

will give results for the whole String.

Expected behavior

It may as well be a typo or the the string is missing second quotation marks. It should throw an exception instead. Escaping the quotes should treat it as a string as usual.

How to reproduce

Use the format like above in a field.

Screenshots

Software version

pth_03 version: 8.0.0
pth_10 version: 5.5.0-6-g82433547

Desktop (please complete the following information if relevant):

  • OS:
  • Browser:
  • Version:

Additional context

Was a disabled test case in PTH-10 that expected an exception. However, it doesn't throw one anymore.
Related to pth-10/322

@51-code 51-code added the bug Something isn't working label Sep 19, 2024
@teragrep teragrep deleted a comment from Kami-prog Sep 19, 2024
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