Skip to content

Commit 8d26367

Browse files
authored
Merge pull request #58 from alipay/20201030-multiAccountResouce
修改逻辑
2 parents 77dc7dd + c39890a commit 8d26367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdf-file-core/src/main/java/com/alipay/rdf/file/loader/ResourceLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static RdfInputStream getInputStream(String path) {
5252

5353
idx = path.indexOf(RdfFileUtil.QUESTION);
5454
if (idx > -1) {
55-
path = path.substring(idx + 1);
55+
path = path.substring(0, idx);
5656
}
5757

5858
String cacheKey = resourceType + (resourceValue == null ? RdfFileUtil.EMPTY : resourceValue);

0 commit comments

Comments
 (0)