File tree 1 file changed +6
-1
lines changed
api/src/main/java/jakarta/servlet
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1997, 2023 Oracle and/or its affiliates and others.
2
+ * Copyright (c) 1997, 2024 Oracle and/or its affiliates and others.
3
3
* All rights reserved.
4
4
* Copyright 2004 The Apache Software Foundation
5
5
*
@@ -410,6 +410,11 @@ default void setCharacterEncoding(Charset encoding) {
410
410
* The difference between this method and {@link ServletContext#getRequestDispatcher} is that this method can take a
411
411
* relative path.
412
412
*
413
+ * <p>
414
+ * The provided {@code path} parameter is canonicalized as per <a href=
415
+ * "https://jakarta.ee/specifications/servlet/6.0/jakarta-servlet-spec-6.0.html#uri-path-canonicalization">Servlet 6.0,
416
+ * 3.5.2</a> before being used to match resources.
417
+ *
413
418
* @param path a <code>String</code> specifying the pathname to the resource. If it is relative, it must be relative
414
419
* against the current servlet.
415
420
*
You can’t perform that action at this time.
0 commit comments