Follow on for bug #51873 - may have another _ on the end

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179462 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2011-10-05 22:14:24 +00:00
parent e132ed5359
commit 5d23ca2ba2

View File

@ -126,7 +126,8 @@ public final class POIFSChunkParser {
// Make sure we got what we expected, should be of
// the form __<name>_<id><type>
if(namePrefix.equals("Olk10SideProps")) {
if(namePrefix.equals("Olk10SideProps") ||
namePrefix.equals("Olk10SideProps_")) {
// This is some odd Outlook 2002 thing, skip
return;
} else if(splitAt <= entryName.length()-8) {