You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "david6969xin (via GitHub)" <gi...@apache.org> on 2023/05/24 03:04:38 UTC

[GitHub] [servicecomb-java-chassis] david6969xin commented on a diff in pull request #3801: [#3784]fix HttpUtils cannot correctly resolve file names

david6969xin commented on code in PR #3801:
URL: https://github.com/apache/servicecomb-java-chassis/pull/3801#discussion_r1203346279


##########
foundations/foundation-common/src/main/java/org/apache/servicecomb/foundation/common/http/HttpUtils.java:
##########
@@ -46,7 +46,7 @@ public static String parseParamFromHeaderValue(String headerValue, String paramN
       }
 
       if (paramName.equalsIgnoreCase(trimValue.substring(0, idx))) {
-        return trimValue.replaceAll("\"", "").substring(idx + 1);
+        return trimValue.replaceAll("\"", "").substring(idx + 1).trim();

Review Comment:
   sure



-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org