after updating to 5.9.0 (and even before, because xml-fast-parser released a breaking change to a minor patch) i'm hitting Entity expansion limit exceeded quite often while using getDirectoryContents with a few hundred objects (not using deep)
this was not the case beforehand because xml-fast-parser defaulted maxTotalExpansions to Infinity. however, now, it is set to 1000.
this conversation upstream is evidence that this error is surprising many others.
webdav users could use a way to configure maxTotalExpansions so they can avoid getting blocked on directory listings.
perhaps an option on WebDAVClientOptions that has a sensible default would go far enough for most people?
after updating to
5.9.0(and even before, because xml-fast-parser released a breaking change to a minor patch) i'm hittingEntity expansion limit exceededquite often while usinggetDirectoryContentswith a few hundred objects (not usingdeep)this was not the case beforehand because xml-fast-parser defaulted
maxTotalExpansionstoInfinity. however, now, it is set to1000.this conversation upstream is evidence that this error is surprising many others.
webdavusers could use a way to configuremaxTotalExpansionsso they can avoid getting blocked on directory listings.perhaps an option on
WebDAVClientOptionsthat has a sensible default would go far enough for most people?