mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
bb3a1d546b
It took the ordered list of accept types, and blindly assumed the first in the list was the most preferred. This is an incorrect assumption to make, as all types with the same q value are equal. - Using CakeRequest::parseAccept() to access only the most preferred content types. - Using in_array() to check for the desired type. - Updating tests for RequestHandler. |
||
---|---|---|
.. | ||
Auth | ||
AclComponent.php | ||
AuthComponent.php | ||
CookieComponent.php | ||
EmailComponent.php | ||
PaginatorComponent.php | ||
RequestHandlerComponent.php | ||
SecurityComponent.php | ||
SessionComponent.php |