tg 2.1 handles url components differently

1 view
Skip to first unread message

Robert Forkel

unread,
Nov 5, 2009, 7:09:26 AM11/5/09
to TurboGears
hi all,
after upgrading from tg 2.0.3 to tg 2.1a2 (with webob 0.9.6.1 and
paste 1.7.2) i ran into the following problem:
parameters for controllers are handled differently depending on how
they are passed. with 2.0.3 for both urls
http://localhost:8080/about/Abip%C3%B3n
and
http://localhost:8080/about?arg1=Abip%C3%B3n
the value Abip%C3%B3n was url decoded and passed to the controller as
unicode object. now this only the case with the latter; with the first
version, the controller receives arg1= 'Abip%C3%B3n'.
is this a bug or an intended change?
regards,
robert

Diez B. Roggisch

unread,
Nov 5, 2009, 7:41:54 AM11/5/09
to turbo...@googlegroups.com

I'd say it's a bug - TG should make the programmer only deal with unicode.

Diez

Mark Ramm

unread,
Nov 19, 2009, 9:41:43 PM11/19/09
to turbo...@googlegroups.com
Can somebody make a ticket for this?
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com
> To unsubscribe from this group, send email to turbogears+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/turbogears?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>



--
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

Kevin Horn

unread,
Nov 19, 2009, 11:50:34 PM11/19/09
to turbo...@googlegroups.com
On Thu, Nov 19, 2009 at 8:41 PM, Mark Ramm <mark.mch...@gmail.com> wrote:
Can somebody make a ticket for this?


done
http://trac.turbogears.org/ticket/2412

Kevin Horn
Reply all
Reply to author
Forward
0 new messages