This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix for incorrect SameSite=none behaviour on some platforms. (#386)
* Attempt to fix incorrect samesite none compatibility for some user agents. Instead of manually generating the major and minor numbers of a version, to rely on the Agent library's built in tools. * UCBrowser 12.14 should be compatible (incompatible version is 12.3 and below) * Fixes to platform checker since it's all checking the float version now. * Updated version constraint for Laravel 6 in travis since Laravel 6 is now using Semver. previously, it would only receive bug-fixes to 6.0, but now minor releases are in 6.* as well. * Added a compatible user agent that was previously reported as failing * Flipped the samesite=none logic from a whitelist to a blacklist. This means that bad agents will be treated as compatible by default. * Changed browser detection to be more explicit to prevent errors caused by user-agents with more than 1 keyword. * Reset the session config to laravel default before each test. * Added an incompatible version of Chrome to the test. * Added some additional user agents that were reported as failing in the existing code. * Removed the try catch since there is no longer an expected scenario where an exception would occur
- Loading branch information
Showing
3 changed files
with
58 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters