Skip to content

Commit e4ff2f6

Browse files
committed
fix(core): Use URL query parameter external option name
Align the flattened external configuration key with the Data Collection option name used by the specification and Android manifest configuration.\n\nRefs #5666\nCo-Authored-By: Claude <noreply@anthropic.com>
1 parent a3ab073 commit e4ff2f6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sentry/src/main/java/io/sentry/ExternalOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public final class ExternalOptions {
282282
}
283283

284284
final KeyValueCollectionBehavior queryParams =
285-
parseKeyValueCollectionBehavior(propertiesProvider, "data-collection.query-params");
285+
parseKeyValueCollectionBehavior(propertiesProvider, "data-collection.url-query-params");
286286
if (queryParams != null) {
287287
dataCollection.setUrlQueryParams(queryParams);
288288
}

sentry/src/test/java/io/sentry/ExternalOptionsTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ExternalOptionsTest {
3333
"data-collection.http-headers.request.mode=allow_list",
3434
"data-collection.http-headers.request.terms=x-request-id,content-type",
3535
"data-collection.http-headers.response.mode=off",
36-
"data-collection.query-params.terms=search",
36+
"data-collection.url-query-params.terms=search",
3737
"data-collection.graphql.document=false",
3838
"data-collection.graphql.variables=true",
3939
"data-collection.database-query-data=false",

0 commit comments

Comments
 (0)