mirror of https://github.com/apache/poi.git
[bug-64108] unsafe pipe character (
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873384 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a3dfc463ed
commit
522ee9c554
|
@ -760,7 +760,7 @@ public final class PackagingURIHelper {
|
|||
};
|
||||
|
||||
private static boolean isUnsafe(int ch) {
|
||||
return ch >= 0x80 || Character.isWhitespace(ch);
|
||||
return ch >= 0x80 || ch == 0x7C || Character.isWhitespace(ch);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -127,7 +127,8 @@ public class TestPackagingURIHelper {
|
|||
"..\\cygwin\\home\\yegor\\dinom\\%5baccess%5d.2010-10-26.log",
|
||||
"#'Instructions (Text)'!B21",
|
||||
"#'性'!B21",
|
||||
"javascript://"
|
||||
"javascript://",
|
||||
"#ctl||rId16||cmdAddAction||_x0000_i1029"
|
||||
};
|
||||
|
||||
for(String s : href){
|
||||
|
|
Loading…
Reference in New Issue