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 #2219 (closed documentation: migrated)

Opened 10 years ago

Last modified 8 years ago

document tg.ignore_parameter for TG2

Reported by: toshio Owned by: jorge.vargas
Priority: normal Milestone: 2.1 docs
Component: Documentation Version: 2.0b6
Severity: normal Keywords: documentation
Cc:

Description

TurboGears1 has had a config option tg.ignore_parameters since r4185. That config option allows you to set a list of parameters that you don't want any of your methods to complain about. This is useful when dealing with javascript libraries (as mentioned when the change went in: http://trac.turbogears.org/ticket/1653 ). I am using it in order to set a CSRF protecting token that should be accepted by any urls in my TG1 app.

AFAICT, there isn't an equivalent to this in TG2 and it makes implementing the CSRF protection a bit harder (or perhaps just different and I don't know where to look :-). Any chance that we could get an equivalent feature added to TG2?

Change History

comment:1 Changed 10 years ago by jorge.vargas

Ohhh yes, I had a nightmare with #1653 in my last TG2 project (ExtJS)

+1 on this one.

comment:2 Changed 10 years ago by mramm

  • Version changed from 2.0b* to 2.0b6

comment:3 Changed 10 years ago by jorge.vargas

  • Owner changed from faide to jorge.vargas

comment:4 Changed 10 years ago by mramm

  • Milestone changed from 2.0 to 2.0b6

comment:5 Changed 10 years ago by mramm

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

Fixed in r6372

comment:6 Changed 10 years ago by jorge.vargas

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Milestone changed from 2.0b6 to 2.0rc1
  • Component changed from TurboGears to Documentation
  • Summary changed from tg.ignore_parameter for TG2 to document tg.ignore_parameter for TG2

stealing this for the docs.

comment:7 Changed 10 years ago by mramm

  • Keywords documentation added

comment:8 Changed 10 years ago by mramm

  • Milestone changed from 2.0rc1 to 2.0rc2

comment:9 Changed 10 years ago by jorge.vargas

  • Type changed from defect to documentation
  • Component changed from Documentation to TurboGears

comment:10 Changed 10 years ago by percious

  • Component changed from TurboGears to Documentation
  • Milestone changed from 2.1a1 to 2.1 docs

comment:11 Changed 9 years ago by percious

comment:12 Changed 8 years ago by pedersen

  • Status changed from reopened to closed
  • Resolution set to migrated
Note: See TracTickets for help on using tickets.