Skip to content

Commit

Permalink
[fc] Repository: plone.app.vocabularies
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2016-06-06T20:08:14-05:00
Author: vangheem (vangheem) <vangheem@gmail.com>
Commit: plone/plone.app.vocabularies@d52b1c8

CatalogVocabulary now takes a query for it's constructor instead of a LazyMap of brains
  and lazy loads terms. Also, in __contains___, do a UID query instead of checking the
  entire contents of the result. This prevents potential DOS with custom code where the
  whole contents of the catalog would get loaded with terms created for it on every
  validation attempt.

Files changed:
M CHANGES.rst
M plone/app/vocabularies/catalog.py
Repository: plone.app.vocabularies
Branch: refs/heads/master
Date: 2016-06-08T13:56:24+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.vocabularies@dfd8bc3

Merge pull request #34 from plone/fix-catalog-query

Fix CatalogVocabulary loading entire catalog

Files changed:
M CHANGES.rst
M plone/app/vocabularies/catalog.py
  • Loading branch information
jensens committed Jun 8, 2016
1 parent 96853a6 commit 80fb595
Showing 1 changed file with 301 additions and 161 deletions.
Loading

0 comments on commit 80fb595

Please sign in to comment.