+ Start a Discussion

Weird extra character issue with URLFOR and URL Rewriter

I'm in the process of writing and testing a Sites url rewriter class, and I ran into an issue when using the URLFOR to show a "pretty" URL on a page.


When I use



What I expect is



What I actually get is



URLFOR is adding a urlencoded space ("+") to my hardcoded type param value of "FAQ".  If I don't use a hardcoded value for the URL params being passed into URLFOR, the encoded space is not added.  Bug?