pg-yang commented on code in PR #10684:
URL: https://github.com/apache/skywalking/pull/10684#discussion_r1167434973
##########
oap-server/server-library/library-server/src/main/java/org/apache/skywalking/oap/server/library/server/http/HTTPServer.java:
##########
@@ -119,4 +123,14 @@ public void addHandler(Object handler, List<HttpMethod>
httpMethods) {
public void start() {
sb.build().start().join();
}
+
+ private String transformAbsoluteURI(final String uri) {
+ if (uri.startsWith("https://")) {
+ return uri.substring(uri.indexOf("/", 9));
Review Comment:
OK, I should find index of next `/` begin with `"https://".lengt` rather
than `"https://".lengt+1`. It's a mistake.
--
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]