Skip to content

Commit

Permalink
Fix primary issue in #300 context path is always the context path
Browse files Browse the repository at this point in the history
The context path does not change to "" just because the current request
matches a context root mapping.
  • Loading branch information
markt-asf committed Jan 27, 2023
1 parent 21d7e16 commit 849ef55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/src/main/asciidoc/servlet-spec-body.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6097,7 +6097,7 @@ is used as an extension mapping.
* The empty string (`+""+`) is a special URL pattern
that exactly maps to the application's context root, i.e., requests of
the form `http://host:port/<context-root>/`. In this case the path info is
`"/"` and the servlet path and context path is empty string (`+""+`).
`"/"` and the servlet path is empty string (`+""+`).

* A string containing only the `"/"`
character indicates the "default" servlet of the application. In this
Expand Down

0 comments on commit 849ef55

Please sign in to comment.