You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For wildcard queries using clp-s, if the ? wildcard is positioned in the middle, it triggers bug #403. However, when it appears at the end of the query, it may return unmatched results. This is because we replace ? with *, leading to find unmatched log-type entries, and fail to perform a wildcard match with the original query (including ?) after decompressing a message.
Compress the log below and run the query a: *Hello?. Because the query contains a *, it won't automatically add * to the beginning and the end of the query. However, instead of returning empty results, it returns both log messages.
wraymo
changed the title
clp-s: Incorrect search results with a "?" wildcard at the end of a query
clp-s: Incorrect search results with a "?" at the end of a query
May 14, 2024
Bug
For wildcard queries using clp-s, if the
?
wildcard is positioned in the middle, it triggers bug #403. However, when it appears at the end of the query, it may return unmatched results. This is because we replace?
with*
, leading to find unmatched log-type entries, and fail to perform a wildcard match with the original query (including?
) after decompressing a message.CLP version
3e95aaf
Environment
MacOS 13.2.1
Reproduction steps
Compress the log below and run the query
a: *Hello?
. Because the query contains a*
, it won't automatically add*
to the beginning and the end of the query. However, instead of returning empty results, it returns both log messages.The text was updated successfully, but these errors were encountered: