From 21b3e2cbdfb9ea3611107de41391a0c6981529d6 Mon Sep 17 00:00:00 2001 From: Tara Drwenski Date: Thu, 12 Sep 2024 12:01:42 -0600 Subject: [PATCH] Fix WFS exception to not include query parameters --- tds/src/main/java/thredds/server/wfs/WFSController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tds/src/main/java/thredds/server/wfs/WFSController.java b/tds/src/main/java/thredds/server/wfs/WFSController.java index 75fe8bdcbc..6cce499a38 100644 --- a/tds/src/main/java/thredds/server/wfs/WFSController.java +++ b/tds/src/main/java/thredds/server/wfs/WFSController.java @@ -261,8 +261,8 @@ private WFSExceptionWriter checkParametersForError(String request, String versio // Last check to see if typenames is specified, must be for GetFeature, DescribeFeatureType if (typeName == null) { return new WFSExceptionWriter( - "WFS server error. For the specifed request, parameter typename or typenames must be specified.", request, - "MissingParameterValue"); + "WFS server error. For the specifed request, parameter typename or typenames must be specified.", + "request", "MissingParameterValue"); } }