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 #1653 (closed defect: fixed)

Opened 10 years ago

Last modified 9 years ago

[PATCH] New option tg.ignore_parameters

Reported by: chrisz Owned by: anonymous
Priority: normal Milestone: 1.5
Component: TurboGears Version: 1.0.4b3
Severity: normal Keywords: ignore parameters _dc tg_random
Cc:

Description

Th ext.js library uses a (hardcoded) parameter _dc in pretty much the same way as TurboGears is using tg_random. I suggest the attached patch which allows ignoring "_dc" parameter in addition to "tg_random" by setting

tg.ignore_parameters = ['_dc']

Attachments

ignore_parameters.patch Download (697 bytes) - added by chrisz 10 years ago.
Add tg.ignore_parameters option

Change History

Changed 10 years ago by chrisz

Add tg.ignore_parameters option

comment:1 Changed 9 years ago by chrisz

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

Applied in r4186 (also added unit test and cleaned up test_controllers).

Note: See TracTickets for help on using tickets.