Ticket #2445 (closed defect: fixed)
ignore_parameters not being included in TG-2.1 tip
| Reported by: | toshio | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1rc1 |
| Component: | TurboGears | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
While testing #2432 against tip we found that ignore_parameters is currently being ignored in TG-2.1 tip. To replicate:
paster quickstart mine cd mine/mine/config echo 'base_config.ignore_parameters = yum?' >> app_cfg.py cd ../.. paster serve development.ini
Browse to http://localhost:8080/?yum=123
This gives a TypeError?: index() got an unexpected keyword argument 'yum'
If the ignore_parameters were being picked up correctly, the query param, "yum" would be allowed on any page.
Change History
Note: See
TracTickets for help on using
tickets.
Confirm fixed in tip.