Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search string containing special characters causes invalid canonical links in search result pages #1711

Open
philippsauer opened this issue Sep 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@philippsauer
Copy link

philippsauer commented Sep 11, 2024

Actual Behavior

A search string containing special characters or spaces like "notebook black" causes invalid canonical URLs on search result pages

For example:
page route: https://intershoppwa.azurewebsites.net/search/notebook%20black
canonical url: https://intershoppwa.azurewebsites.net/search/notebook%2520black

Expected Behavior

A search string should not be encoded in the canonical url

Steps to Reproduce the Bug

Steps to reproduce the behavior:

  1. Go to 'https://intershoppwa.azurewebsites.net/search/notebook%20black'
  2. See canonical link in page source: https://intershoppwa.azurewebsites.net/search/notebook%2520black
  3. Go to 'https://intershoppwa.azurewebsites.net/search/notebook%2520black'
  4. See canonical link in page source: https://intershoppwa.azurewebsites.net/search/notebook%252520black
  5. and so on...

Environment Details

  • OS: any
  • Browser: any
  • Project Code Version: PWA 5.2.0

AB#99735

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant