Skip to content

Commit dbb942c

Browse files
committed
fix(filesystem): Apply URI decoding to web file path retrieval
Ensures the file argument in GetWebFilePath is properly decoded (using UnescapeDataString) to correctly resolve files with special or international characters.
1 parent 29a56e8 commit dbb942c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MIG/Gateways/WebServiceGateway.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,7 @@ private void UpdateWebFileCache(string file, string content, Encoding encoding)
10151015

10161016
private string GetWebFilePath(string file)
10171017
{
1018+
file = Uri.UnescapeDataString(file);
10181019
string path = homePath;
10191020
if (file.StartsWith(baseUrl))
10201021
{

0 commit comments

Comments
 (0)