I have a situation where I'm trying to figure out where is the URL decoding is happening. From my understanding to have a SEO friendly URL I should replace spaces with hyphens (-). For example, if I have a URL string as
http://www.somedomain.com/test%20url%20string/ then I should change to
http://www.somedomain.com/test-url-string/So I have a following scenario where I URLEncoded the strings and replaced the %20 to hyphens. See example below.
Original URL:
URL Encoded URL
SEO Friendly URL (I've replaced the %20 to a hyphen):
However, on the ColdFusion side the URL string is returned as follows.
It already decoded it for me before I could replace the hyphens to %20 then decode the string.
Is this an IIS, ColdFusion, or ColdBox issue. I would prefer the URL strings were NOT decoded automatically.
I'm on the following environment.
Windows 2012 Server 64bit
IIS 8
ColdBox 3.8.1