From d7d3512268f5404535d6504c45664aacb31c36a9 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 30 Sep 2019 15:43:38 -0500 Subject: add changelog for #3512 --- CHANGES.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 5f83d7c4f..bf113ddd8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -38,6 +38,14 @@ Features - Improve debugging info from ``pyramid.view.view_config`` decorator. See https://github.com/Pylons/pyramid/pull/3483 +- A new parameter, ``allow_no_origin``, was added to + ``pyramid.config.Configurator.set_default_csrf_options`` as well as + ``pyramid.csrf.check_csrf_origin``. This option controls whether a + request is rejected if it has no ``Origin`` or ``Referer`` header - + often the result of a configuring their browser not to send a + ``Referer`` header for privacy reasons. + See https://github.com/Pylons/pyramid/pull/3512 + Deprecations ------------ -- cgit v1.2.3