You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2025/09/15 15:22:30 UTC

(tomcat) branch 11.0.x updated: Add another warning to the Store interface

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

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


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

commit df2a450b430f7e7cf18d5c433cc24a4032534500
Author: Mark Thomas <ma...@apache.org>
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org