jerqi commented on code in PR #8336:
URL: https://github.com/apache/gravitino/pull/8336#discussion_r2315319889


##########
server/src/main/java/org/apache/gravitino/server/web/rest/FilesetOperations.java:
##########
@@ -374,12 +368,20 @@ public Response getFileLocation(
         catalog,
         schema,
         fileset,
-        RESTUtils.decodeString(subPath),
-        
Optional.ofNullable(locationName).map(RESTUtils::decodeString).orElse(null));
+        subPath,
+        locationName);
     try {
       return Utils.doAs(
           httpRequest,
           () -> {
+            int[] clientVersion = Utils.getClientVersion(httpRequest);
+            boolean isV1PlusClient = clientVersion == null || clientVersion[0] 
>= 1;

Review Comment:
   `Curl` command will be decoded two times?



-- 
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]

Reply via email to