Skip to content

Commit

Permalink
Fix parsing of nested objects in dot syntax in router.parseQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
dschmidt committed Mar 3, 2022
1 parent 5cd057c commit cf8cab7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/web-runtime/src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ const base = document.querySelector('base')
export const router = patchRouter(
new Router({
parseQuery(query) {
return qs.parse(query)
return qs.parse(query, {
allowDots: true
})
},
stringifyQuery(obj) {
return qs.stringify(obj, {
Expand Down

0 comments on commit cf8cab7

Please sign in to comment.