Skip to content

Commit 4998a31

Browse files
committed
added more conditions for search character escaping
1 parent 2c6ce50 commit 4998a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/presenters/v3/LogsListPresenter.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ type ErrorAttributes = {
2929

3030
function escapeClickHouseString(val: string): string {
3131
return val
32-
.replace(/\//g, "\\/")
3332
.replace(/\\/g, "\\\\")
33+
.replace(/\//g, "\\/")
3434
.replace(/%/g, "\\%")
3535
.replace(/_/g, "\\_");
3636
}

0 commit comments

Comments
 (0)