[Nitro] porting from 0.41 to 0.5

Arne Brasseur arne at arnebrasseur.net
Mon Sep 10 10:48:14 EDT 2007


George Moschovitis schreef:
> Hmm, there is a problem with the '.' in the uri parameter...
> I cant see an easy way to fix this.
>
> anyone has any idea?
The easy way would be to just use GET parameters:

http://localhost:9000/afs/server?host=norte.lse.ac.uk

Maybe not the nicest solution but shouldn't be too hard to implement.

Also, can't the 'router' be used to do special URI to controller mapping 
more flexibly then the 'dispatcher' can?
If not could you maybe give an example of what the router is useful for? 
It's not used with normal controller/action/param URI's, right?

(ab)
>
> -g.
>
> On 9/10/07, * vladimir konrad* <v.konrad at lse.ac.uk 
> <mailto:v.konrad at lse.ac.uk>> wrote:
>
>
>     Hello!
>
>     I have a controller method which takes one parameter (hostname). The
>     following URL worked in 0.41 but does not in 0.5 (latest nitro trunk):
>
>     http://localhost:9000/afs/server/norte.lse.ac.uk
>
>     The norte.lse.ac.uk <http://norte.lse.ac.uk> is the parameter. The
>     erros is
>
>     ERROR: Cannot respond to '/afs/server/norte.lse.ac.uk' using the 'uk'
>     format representation.
>
>     Any ideas?
>
>     Vlad
>
>
>     Please access the attached hyperlink for an important electronic
>     communications disclaimer:
>     http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm
>     _______________________________________________
>     Nitro-general mailing list
>     Nitro-general at rubyforge.org <mailto:Nitro-general at rubyforge.org>
>     http://rubyforge.org/mailman/listinfo/nitro-general
>
>
>
>
> -- 
> http://www.me.gr <http://www.me.gr>
> http://phidz.com
> http://blog.gmosx.com
> http://cull.gr
> http://www.joy.gr
> http://nitroproject.org
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general


-- 
Arne Brasseur
http://www.arnebrasseur.net
arne at arnebrasseur.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070910/e1427dba/attachment.html 


More information about the Nitro-general mailing list