SES Question

Is there a way to define an ses route such that:

pattern="/file/:somePath"

matching a url like http:/myapp/file/dir1/dir2/blah.js would have the variable somePath in rc set to "dir1/dir2/blah.js"?

Thanks!

well, not really because the / demarcate positions in the URL. Unless you encode them maybe

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Looks like a trick question to me… it’s a JS file. :slight_smile:

Jason Durham

signature0.jpg