Chaps,

With the following route:

            RoutingModuleEx.Engine.Add(
                new PatternRoute("/content/<title>.rails")
                .DefaultForController().Is<ContentController>()
                .DefaultForAction().Is("Index"));

These match OK:

/content/about%20us.rails
/content/about us.rails

But this doesn't:

/content/about+us.rails

I get an exception:

Castle.MonoRail.Framework.MonoRailException: Could not find action named
about+us on controller \content
   at Castle.MonoRail.Framework.Controller.RunActionAndRenderView()

AFAIK the + and %20 characters are interchangeable. Shall I supply a patch?

BenL

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to