It seems that CGI (at least when using Apache and IIS) brings back the PATH_INFO (and SCRIPT_NAME) already url decoded. When setting the cleanedPathInfo in the RequestHandler.cfc, the cleanPathInfo method from the Utils.cfc being used there url decodes the PATH_INFO by default unless the urlDecode parameter is passed as false, which is not. This means that, as far as I can tell, the PATH_INFO is being url decoded again unnecessarily. This is what caused the unexpected behavior with the % sign since it is the escape character for html encoding.
Please let me know if I missed something or if this actually a bug. Thank you. On May 11, 11:28 am, Po <[email protected]> wrote: > When using the HTML encoded percent sign (%25) in the url for an SES > parameter, e.g. http://test.mysite.com/eventName/param/%25value/, > the outputted value for the "param" event parameter will be "% vlue". > So it seems to always remove the second character after "%25 ". This > behavior does not happen when using a query string parameter instead. -- To post to this group, send email to [email protected] For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
