diff --git a/docs/patterns/fileuploads.rst b/docs/patterns/fileuploads.rst index e77bef42..3e3762d9 100644 --- a/docs/patterns/fileuploads.rst +++ b/docs/patterns/fileuploads.rst @@ -181,8 +181,8 @@ construction of progress bar. Because the common pattern for file uploads exists almost unchanged in all applications dealing with uploads, there is also a Flask extension called -`Flask-Uploads`_ that implements a full fledged upload mechanism with white and -blacklisting of extensions and more. +`Flask-Uploads`_ that implements a full fledged upload mechanism that +allows controlling with file extensions are allowed to be uploaded. .. _jQuery: https://jquery.com/ .. _Flask-Uploads: https://flask-uploads.readthedocs.io/en/latest/ diff --git a/src/flask/helpers.py b/src/flask/helpers.py index 786e096d..e46c6d26 100644 --- a/src/flask/helpers.py +++ b/src/flask/helpers.py @@ -437,7 +437,8 @@ def get_flashed_messages(with_categories=False, category_filter=()): `category_filter` parameter added. :param with_categories: set to ``True`` to also receive categories. - :param category_filter: whitelist of categories to limit return values + :param category_filter: filter of categories to limit return values. Only + categories in the list will be returned. """ flashes = _request_ctx_stack.top.flashes if flashes is None: