RocketMan / zookeeper

Zookeeper Online is a music database and charting application for student and independent radio.
GNU General Public License v3.0
4 stars 3 forks source link

Remove cookies from _REQUEST superglobal #414

Closed RocketMan closed 11 months ago

RocketMan commented 11 months ago

The request_order configuration is currently set to GPC, meaning GET POST and cookies are included in the $_REQUEST superglobal variable.

The application exclusively passes request parameters in the query string (GET) or via form POST. Cookies are not used for request parameters. The application uses cookies only for session state, in which case they are exclusively accessed via the $_COOKIES global and never $_REQUEST.

This PR removes cookies from the $_REQUEST variable, such that it will contain only request parameters supplied in the query string (GET) or via form POST.