extensions/markdown-language-features/src/languageFeatures/pathCompletions.ts/tryDecodeUriComponent
function tryDecodeUriComponent(str: string): string {
	try {
		return decodeURIComponent(str);
	} catch {
		return str;
	}
}