Skip to content

Commit 77c0c9a

Browse files
committed
update after elastic#83178 is merged
1 parent 2cf2266 commit 77c0c9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/common/xcontent/XContentFieldFilter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ static XContentFieldFilter newFieldFilter(String[] includes, String[] excludes)
7373
} else {
7474
final XContentParserConfiguration parserConfig = XContentParserConfiguration.EMPTY.withFiltering(
7575
Set.of(includes),
76-
Set.of(excludes)
76+
Set.of(excludes),
77+
true
7778
);
7879
return (originalSource, contentType) -> {
7980
if (originalSource == null || originalSource.length() <= 0) {

server/src/test/java/org/elasticsearch/common/xcontent/support/XContentFieldFilterTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ public void testIncludingObjectWithNestedIncludedObject() throws IOException {
244244
testFilter(actual, actual, singleton("*.obj2"), emptySet());
245245
}
246246

247-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/pull/83178")
248247
public void testDotsInFieldNames() throws IOException {
249248
Builder actual = builder -> builder.startObject()
250249
.field("foo.bar", 2)

0 commit comments

Comments
 (0)