We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 321d171 commit cce424cCopy full SHA for cce424c
1 file changed
src/vs/base/common/resources.ts
@@ -45,7 +45,7 @@ export function getComparisonKey(resource: URI, caseInsensitivePath = hasToIgnor
45
if (caseInsensitivePath) {
46
path = path.toLowerCase();
47
}
48
- return `${resource.scheme}://${resource.authority.toLowerCase()}/${path}?${resource.query}`;
+ return resource.with({ authority: resource.authority.toLowerCase(), path: path, fragment: null }).toString();
49
50
51
export function hasToIgnoreCase(resource: URI | undefined): boolean {
0 commit comments