GuzzleMiddleware::url() - Distinguish frontend and backend routes
authorTim Otten <totten@civicrm.org>
Wed, 17 Feb 2021 02:50:24 +0000 (18:50 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 26 Feb 2021 00:33:45 +0000 (16:33 -0800)
commit1c5f00b3db86fb6bbdf0b60eb175802219f8509e
tree87c81cba7d8c9dc1e47ce16bdcf3eaf09d8eeb9f
parent7f3375c5f8b11f989e3b944e4b589e1a6f8523a4
GuzzleMiddleware::url() - Distinguish frontend and backend routes

Before: The `route://` scheme assumed backend access.

After: The `frontend://` and `backend://` schemes are unambiguous.
       The `route://` scheme will make a best-guess by determining
       if the menu item has `is_public`.
CRM/Utils/GuzzleMiddleware.php