added support for hyphentated URL paths. Removed the preg_quote on statics
controller paramters