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
Parsing is not working correctly when there are special characters in the query params
When you try to parse this query param using the following logic it is not working as expected. sfm%5BsimpleSearch%5D%5BkeywordRadio%5D=ALL&sfm%5BsimpleSearch%5D%5BkeywordTags%5D%5B0%5D%5Bkey%5D=%22at%26t%22&sfm%5BsimpleSearch%5D%5BkeywordTags%5D%5B0%5D%5Bvalue%5D=%22at%26t%22&sfm%5Bstatus%5D%5Bis_active%5D=true
Parsing is not working correctly when there are special characters in the query params
When you try to parse this query param using the following logic it is not working as expected.
sfm%5BsimpleSearch%5D%5BkeywordRadio%5D=ALL&sfm%5BsimpleSearch%5D%5BkeywordTags%5D%5B0%5D%5Bkey%5D=%22at%26t%22&sfm%5BsimpleSearch%5D%5BkeywordTags%5D%5B0%5D%5Bvalue%5D=%22at%26t%22&sfm%5Bstatus%5D%5Bis_active%5D=true
Expected:
sfm: { simpleSearch: { keywordRadio: "ALL", keywordTags: [{key: "\"at&t\"", value: "\"at&t\""}], } }
Actual:
sfm: { simpleSearch: { keywordRadio: "ALL", keywordTags: [{key: "\"at", value: "\"at"}], } }
https://github.com/GSA/sam-layouts/blob/angular-16/layouts/src/lib/search-list-layout/search-list-layout.component.ts#L348
The text was updated successfully, but these errors were encountered: