Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1751 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

Unicode param names being passed to controllers

Reported by: mramm Owned by: anonymous
Priority: normal Milestone:
Component: TurboGears Version: 1.0.4.4
Severity: normal Keywords:
Cc:

Description

Looks like the WebOb? UnicodeMultiDict? object is getting Unicode Keys by default, which causes our controller methods to blow up.

It's been suggested that this has been fixed in the latest WebOb?.

Change History

comment:1 Changed 11 years ago by mramm

  • Milestone changed from 1.1 to 2.0-preview-1

comment:2 Changed 11 years ago by mramm

  • Status changed from new to closed
  • Resolution set to fixed

Seems to have been a temporary problem in webob -- fixed upstream.

BUT this means that users should not use Unicode strings to define form field names, since they can't be passed in to the controller that way. Right now they will be passed in via UTF encoded strings (not Unicode String objects) which makes things look ugly in the controller code.

This will be fixable in tg 3 on Python 3 because unicode will be allowed for identifiers.

comment:3 Changed 10 years ago by anonymous

  • Milestone 2.0-preview-1 deleted

Milestone 2.0-preview-1 deleted

Note: See TracTickets for help on using tickets.