adutra commented on code in PR #3793:
URL: https://github.com/apache/polaris/pull/3793#discussion_r2816909291
##########
runtime/service/src/main/java/org/apache/polaris/service/catalog/common/CatalogUtils.java:
##########
@@ -94,4 +98,8 @@ public static void validateLocationsForTableLike(
}
});
}
+
+ public static Namespace decodeNamespace(String namespace) {
+ return RESTUtil.decodeNamespace(URLEncoder.encode(namespace,
Charset.defaultCharset()));
Review Comment:
`Charset.defaultCharset()` is unreliable, let's seize the opportunity to
change this:
```suggestion
return RESTUtil.decodeNamespace(URLEncoder.encode(namespace,
StandardCharsets.UTF_8));
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]