From 03bdedd3ecb34aea0ca637071844204db12b00a5 Mon Sep 17 00:00:00 2001
From: Dave Long <dave@longwaveconsulting.com>
Date: Fri, 9 Feb 2024 18:24:37 +0000
Subject: [PATCH] Issue #3406109 by Drupaler_Kushal, KarimB, Lenenba,
 smustgrave, quietone: Correct 'milli' in core/form.js

---
 core/misc/cspell/dictionary.txt | 1 -
 core/misc/form.js               | 8 ++++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/core/misc/cspell/dictionary.txt b/core/misc/cspell/dictionary.txt
index 8f9a117af00a..ecba54d2941d 100644
--- a/core/misc/cspell/dictionary.txt
+++ b/core/misc/cspell/dictionary.txt
@@ -445,7 +445,6 @@ metatags
 mglaman
 micheh
 mikey
-milli
 mimetypes
 minifyzombies
 minusthick
diff --git a/core/misc/form.js b/core/misc/form.js
index 991241323346..b05ecf0b4c63 100644
--- a/core/misc/form.js
+++ b/core/misc/form.js
@@ -111,10 +111,10 @@
    *   (due to limitations of jQuery.serialize()). That is deemed to be
    *   acceptable, because if the user forgot to attach a file, then the size of
    *   HTTP payload will most likely be small enough to be fully passed to the
-   *   server endpoint within (milli)seconds. If a user mistakenly attached a
-   *   wrong file and is technically versed enough to cancel the form submission
-   *   (and HTTP payload) in order to attach a different file, then that
-   *   edge-case is not supported here.
+   *   server endpoint within seconds, or even milliseconds. If a user
+   *   mistakenly attached a wrong file and is technically versed enough to
+   *   cancel the form submission (and HTTP payload) in order to attach a
+   *   different file, then that edge-case is not supported here.
    *
    * Lastly, all forms submitted via HTTP GET are idempotent by definition of
    * HTTP standards, so excluded in this implementation.
-- 
GitLab