Ticket #1653 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

[PATCH] New option tg.ignore_parameters

Reported by: chrisz Assigned to: anonymous
Priority: normal Milestone: 1.1
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 (0.7 kB) - added by chrisz on 01/09/08 11:31:21.
Add tg.ignore_parameters option

Change History

01/09/08 11:31:21 changed by chrisz

  • attachment ignore_parameters.patch added.

Add tg.ignore_parameters option

03/01/08 08:04:02 changed by chrisz

  • status changed from new to closed.
  • resolution set to fixed.

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