iftomkins
11 years agoMaven
French accent breaks freemarker code
Our french forum category is titled as: Communauté
But this breaks my redirect code: ${http.response.setRedirectUrl("/t5/Communauté/ct-p/FR")} And it says "this page has a redirect loop"
When I change the name of the category to: Communaute
With redirect code: ${http.response.setRedirectUrl("/t5/Communaute/ct-p/FR")}
Then it works fine. But we want the name of the category to have the accent, because we want it to output on the page correct, we just don't want it to output in the URL with the accent.
Any thoughts?
Solution hiding in plain sight: In the redirect code, I just used the URL with a normal "e" instead of the accented letter, and it resolved to "é" on page load. Odd, but works.