You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by GitBox <gi...@apache.org> on 2022/08/06 19:58:19 UTC

[GitHub] [poi] pjfanning commented on a diff in pull request #368: Remove unnecessarily escaped characters.

pjfanning commented on code in PR #368:
URL: https://github.com/apache/poi/pull/368#discussion_r939569973


##########
poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/PackagePartName.java:
##########
@@ -326,7 +326,7 @@ private static void checkPCharCompliance(String segment)
             /* Check rule M1.7 */
             if (decodedChar == '/' || decodedChar == '\\') {
                 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]");

Review Comment:
   this change is wrong



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org