mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
fix escaping in message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903314 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
59091db138
commit
eb5dca9a1e
@ -326,7 +326,7 @@ public final class PackagePartName implements Comparable<PackagePartName> {
|
|||||||
/* Check rule M1.7 */
|
/* Check rule M1.7 */
|
||||||
if (decodedChar == '/' || decodedChar == '\\') {
|
if (decodedChar == '/' || decodedChar == '\\') {
|
||||||
throw new InvalidFormatException(
|
throw new InvalidFormatException(
|
||||||
"A segment shall not contain percent-encoded forward slash ('/'), or backward slash ('\') characters. [M1.7]");
|
"A segment shall not contain percent-encoded forward slash ('/'), or backward slash ('\\') characters. [M1.7]");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check rule M1.8 */
|
/* Check rule M1.8 */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user