a06f4fbd91
* Replace single quote with the encoded version %27 for URL comparison This is required as as removeQueryArgs() function uses decodeURIcomponent method which doesn't encode single quotes (') while it was still encoded in the original URL (%27). So when the single quote was in a query param, for example as a search term, it caused endless redirection loop. * Replace single quote with the encoded version %27 for URL comparison in Filter by Rating * refactor the solution so it encodes the href rather than decode the newly created URL * Refactor the normalisation * Add tests to normalisation function |
||
---|---|---|
.. | ||
filters.js | ||
notices.js | ||
products.js |