Try our conversational search powered by Generative AI!

SEO url: Show 404 not found when SEO url contain + character

Found in

Release 7.5

Created

Feb 11, 2015

Updated

Mar 20, 2015

Area

Falcon/Commerce

State

Closed, Fixed and Tested


Steps to reproduce

Triage note: Lets do as CMS and add a validation rule against this.


Dev note:

The + is a reserved character in URL:s so if the actual url contains a + it needs to be encoded (%2b). But then there are still two issues:

1. Even if you do encode the character in the URL it can't be routed to.

2. If you use SEO Url as standard in the site, rendered links aren't encoded (at least in the seagull site on the left menu in the shopping overview ("Fashion" link for example).


Steps to reproduce

  1. Create a new catalog item successfully
  2. Update SEO URL to contain + character (such as: abc+123) then publish the content
  3. View the catalog item through seo url (eg: http://vnlabvm47:17002/abc+123)



Expected: View page normally OR should not allow + character in SEO url

Actual: Show 404 not found as below:


Note: No such problem with CMS content (It not allow + in "name in url" and "Simple address")

404 - File or directory not found.

The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.