This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new e49b6f937f Add a warning to the Store interface
e49b6f937f is described below
commit e49b6f937faf70f4df1fa8749fcb13e9cb88a189
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Sep 15 16:10:45 2025 +0100
Add a warning to the Store interface
---
java/org/apache/catalina/Store.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/java/org/apache/catalina/Store.java
b/java/org/apache/catalina/Store.java
index 18a7bb96e3..073600446c 100644
--- a/java/org/apache/catalina/Store.java
+++ b/java/org/apache/catalina/Store.java
@@ -75,6 +75,8 @@ public interface Store {
* <p>
* Implementations should expect, and correctly handle, concurrent calls
to any method but in particular calls to
* {@code #load(String)}, {@code #save(Session)} and {@code
#remove(String)} for the same session.
+ * <p>
+ * The session ID is user provided so stores must treat it as untrusted
data.
*
* @param id Session identifier of the session to load
*
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]