Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Ticket #405 (defect)

Opened 3 years ago

Last modified 3 years ago

Custom filters may not run after methods_with_underscores changes

Status: closed (fixed)

Reported by: Christian Wyglendowski <christian@dowski.com> Assigned to: rdelon
Priority: normal Milestone:
Component: CherryPy code Keywords:
Cc:

The changes in [856] seem to keep one from running custom filters that use the old camelCaseMethodNames. The problem seems to be in _cputil.get_special_attribute. On line 74, return globals()[name], a global value (empty list) for _cp_filters is found.

When applyFilters() in filters.__init__.py calls _cputil.get_special_attribute("_cp_filters", "_cpFilterList") on line 108, a check for _cpFilterList is never performed.

Change History

12/06/05 09:10:39: Modified by rdelon

Fixed in [861]

12/06/05 10:11:07: Modified by dowski

Well, this hasn't fixed it, at least not with the HTTPAuthFilter. I'll do some more debugging to see what I can find out.

12/06/05 10:46:27: Modified by rdelon

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

Fixed (for good hopefully) in [862]

Hosted by WebFaction

Log in as guest/cpguest to create tickets