Skip to content

Commit

Permalink
fix: remove '%' signs from product slugs (#1687)
Browse files Browse the repository at this point in the history
  • Loading branch information
SGrueber authored Jun 17, 2024
1 parent 480447a commit 6903fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/utils/routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function addGlobalGuard(
* RegEx that finds reserved characters that should not be contained in non functional parts of routes/URLs (e.g product slugs for SEO)
*/
// not-dead-code
export const reservedCharactersRegEx = /[ &\(\)=]/g;
export const reservedCharactersRegEx = /[ &\(\)=%]/g;

/**
* Sanitize slug data (remove reserved characters, clean up obsolete '-', lower case, capitalize identifiers)
Expand Down

0 comments on commit 6903fd2

Please sign in to comment.