Skip to content

Commit 3cbb563

Browse files
committed
Update comment now that Firefox supports report-to
1 parent 62ace59 commit 3cbb563

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/org/labkey/core/admin/AdminController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12321,8 +12321,8 @@ public void handleReports(ReportToJsonObjects jsonObjects, HttpServletRequest re
1232112321
@Override
1232212322
protected ObjectMapper createRequestObjectMapper()
1232312323
{
12324-
// Annoyingly, Chrome posts an array of JSON objects but Safari posts individual JSON objects. Set a flag
12325-
// that ensures both cases deserialize into List<JSONObject>.
12324+
// Annoyingly, Chrome and Firefox post an array of JSON objects but Safari posts individual JSON objects.
12325+
// Set a flag that ensures both cases deserialize into List<JSONObject>.
1232612326
return JsonUtil.DEFAULT_MAPPER.copy().enable(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY);
1232712327
}
1232812328
}

0 commit comments

Comments
 (0)