Skip to content

Commit ae9f434

Browse files
committed
docs: add warning about auto route and CSRF protection
1 parent 3075273 commit ae9f434

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

user_guide_src/source/incoming/routing.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,9 @@ to only those defined by you, by setting the ``setAutoRoute()`` option to false:
562562

563563
$routes->setAutoRoute(false);
564564

565+
.. warning:: If you use the :doc:`CSRF protection </libraries/security>`, it does not protect **GET**
566+
requests. If the URI is accessible by the GET method, the CSRF protection will not work.
567+
565568
404 Override
566569
------------
567570

0 commit comments

Comments
 (0)