Skip to content

Commit

Permalink
Decode query params when filtering logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pijng committed Apr 22, 2024
1 parent c51bb0c commit 98225b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ info:
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
version: 1.7.12
version: 1.7.13
externalDocs:
description: Find out more about spec
url: ''
Expand Down
2 changes: 1 addition & 1 deletion web/src/entities/log/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const queryLogsFx = createEffect(

const formattedQuery = Object.entries(objectQuery).reduce((acc, [k, v]) => {
if (v.trim().length > 0) {
return { ...acc, [k]: v };
return { ...acc, [k]: decodeURIComponent(v) };
}

return acc;
Expand Down

0 comments on commit 98225b1

Please sign in to comment.