Skip to content

Commit

Permalink
Issue #18 URI path processing
Browse files Browse the repository at this point in the history
UTF-8 decoding
  • Loading branch information
gregw committed Oct 7, 2021
1 parent ad8f3d1 commit f0d56b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/src/main/asciidoc/servlet-spec-body.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1324,8 +1324,8 @@ The URI is split by the first occurrence of any '?' character to path and query.
==== Discard fragment
A fragment in the path is indicated by the first occurrence of a `\#` character. Any `#` character and following fragment is removed from the path and discarded.

==== Decoding of non-special characters
Characters other than `/`, `;` and `%` that are encoded in `%nn` form are decoded and the resulting octet sequences is treated as UTF-8 and converted to a character sequence.
==== Decoding of characters as UTF-8
Characters other than `/`, `;` and `%` that are encoded in `%nn` form are decoded. The resulting octet sequences is treated as UTF-8 and converted to a character sequence.

==== Collapse sequences of multiple `"/"` characters
Any sequence of more than one `"/"` character in the URI must be replaced with a single `"/"`.
Expand Down

0 comments on commit f0d56b0

Please sign in to comment.