This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 7243986d7a Add another warning to the Store interface
7243986d7a is described below

commit 7243986d7ad5c00a411ee7e2dc30a685abdd53e2
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Sep 15 16:21:25 2025 +0100

    Add another 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 073600446c..36181c8877 100644
--- a/java/org/apache/catalina/Store.java
+++ b/java/org/apache/catalina/Store.java
@@ -94,6 +94,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 be removed
      *


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to