You may find more information about special characters in a URI here: 

http://tools.ietf.org/html/rfc3986


On Wednesday, September 12, 2012 8:55:15 AM UTC-7, Remi Jolin wrote:
>
> Hello, 
>
> Coming from TG1 I started playing with TG2.2 a few days ago and I 
> encountered this : 
>
> Suppose you have a controller with 
>      def fct(self, a, b=None): 
>          # do something 
>          return something 
>
> http://localhost:8080/fct/abcdef 
> gives a = 'abcdef', b=None.   That's OK 
>
> but 
> http://localhost:8080/fct/abc.def 
> gives a = 'abc', b=None  !! NOT OK 
>
> and 
> http://localhost:8080/fct/abc.def/123 
> a='abc.def <http://localhost:8080/fct/abc.def/123a='abc.def>',  b='123' 
>  - OK 
>
> and 
> http://localhost:8080/fct?a=abc.def 
> a='abc.def <http://localhost:8080/fct?a=abc.defa='abc.def>', b=None - OK 
>
> Any explanation ? 
> Is it the expected behavior ? 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/9wNg7bJQv6gJ.
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/turbogears?hl=en.

Reply via email to