|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
tg 2.1 handles url components differentlyhi 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: tg 2.1 handles url components differentlyOn Thursday 05 November 2009 13:09:26 Robert Forkel wrote: > 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? I'd say it's a bug - TG should make the programmer only deal with unicode. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Re: tg 2.1 handles url components differentlyCan somebody make a ticket for this?
On Thu, Nov 5, 2009 at 7:41 AM, Diez B. Roggisch <deets@...> wrote: > > On Thursday 05 November 2009 13:09:26 Robert Forkel wrote: >> 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? > > I'd say it's a bug - TG should make the programmer only deal with unicode. > > Diez > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups "TurboGears" group. > To post to this group, send email to turbogears@... > To unsubscribe from this group, send email to turbogears+unsubscribe@... > 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 -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@.... For more options, visit this group at http://groups.google.com/group/turbogears?hl=. |
|
|
Re: Re: tg 2.1 handles url components differentlyOn Thu, Nov 19, 2009 at 8:41 PM, Mark Ramm <mark.mchristensen@...> wrote: Can somebody make a ticket for this? done http://trac.turbogears.org/ticket/2412 Kevin Horn -- You received this message because you are subscribed to the Google Groups "TurboGears" group.To post to this group, send email to turbogears@.... To unsubscribe from this group, send email to turbogears+unsubscribe@.... For more options, visit this group at http://groups.google.com/group/turbogears?hl=. |
| Free embeddable forum powered by Nabble | Forum Help |