summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorTatu Lund <tatu@vaadin.com>2021-02-01 17:51:22 +0200
committerGitHub <noreply@github.com>2021-02-01 17:51:22 +0200
commit7cb91b3b9995c92bfd2bfb694669f02d7fa44618 (patch)
tree6fa40e1a5728a95947a2ab59e45124102f97104d /uitest
parent885c2298fd709f4b05ee9fd4b38286c82c37cd1e (diff)
downloadvaadin-framework-7cb91b3b9995c92bfd2bfb694669f02d7fa44618.tar.gz
vaadin-framework-7cb91b3b9995c92bfd2bfb694669f02d7fa44618.zip
fix: use time-constant comparison for CSRF tokens (#12188)
This hardens the framework against a theoretical timing attack based on comparing how quickly a request with an invalid CSRF token is rejected. Cherry-picked from: https://github.com/vaadin/flow/pull/9875
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/VerifyBrowserVersionTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/VerifyBrowserVersionTest.java b/uitest/src/test/java/com/vaadin/tests/VerifyBrowserVersionTest.java
index 87b428a15a..4f90112990 100644
--- a/uitest/src/test/java/com/vaadin/tests/VerifyBrowserVersionTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/VerifyBrowserVersionTest.java
@@ -25,7 +25,7 @@ public class VerifyBrowserVersionTest extends MultiBrowserTest {
// Chrome version does not necessarily match the desired version
// because of auto updates...
browserIdentifier = getExpectedUserAgentString(
- getDesiredCapabilities()) + "87";
+ getDesiredCapabilities()) + "88";
} else if (BrowserUtil.isFirefox(getDesiredCapabilities())) {
browserIdentifier = getExpectedUserAgentString(
getDesiredCapabilities()) + "81";