On Tuesday, September 14, 2010 01:07:03 Diego Woitasen wrote:
> I have simple method in my root controller:
>
> def print(self, text):
> return text
>
> I don't know why but when I do
> http://localhost:8080/print/www.paypal.com text variable is equal to
> 'www.paypal'. The weird thing is if I do
> http://localhost:8080/print/www.paypal.com.ar I receive the whole
> string.
>
> Any idea?
Yes, that's a rather weird feature IMHO.
Use this in your code:
if request.response_ext:
resource_id += request.response_ext
where request is tg.request of course.
Diez
--
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en.