Skip to content

Commit

Permalink
Additional fix for jakartaee#453
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Mar 14, 2024
1 parent 9cacfc5 commit 813c8d5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion api/src/main/java/jakarta/servlet/ServletRequest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2023 Oracle and/or its affiliates and others.
* Copyright (c) 1997, 2024 Oracle and/or its affiliates and others.
* All rights reserved.
* Copyright 2004 The Apache Software Foundation
*
Expand Down Expand Up @@ -410,6 +410,11 @@ default void setCharacterEncoding(Charset encoding) {
* The difference between this method and {@link ServletContext#getRequestDispatcher} is that this method can take a
* relative path.
*
* <p>
* The provided {@code path} parameter is canonicalized as per <a href=
* "https://jakarta.ee/specifications/servlet/6.0/jakarta-servlet-spec-6.0.html#uri-path-canonicalization">Servlet 6.0,
* 3.5.2</a> before being used to match resources.
*
* @param path a <code>String</code> specifying the pathname to the resource. If it is relative, it must be relative
* against the current servlet.
*
Expand Down

0 comments on commit 813c8d5

Please sign in to comment.