Fixed issue with file links: filenames that were already encoded were encoded a second time.
This commit is contained in:
parent
b95f6342a1
commit
24646bd331
3 changed files with 7 additions and 5 deletions
|
@ -193,7 +193,7 @@ namespace ScrewTurn.Wiki {
|
|||
row["Type"] = "F";
|
||||
row["Name"] = GetItemName(s);
|
||||
row["Size"] = Tools.BytesToString(details.Size);
|
||||
row["WikiMarkupLink"] = "{UP}" + Tools.UrlEncode(s);
|
||||
row["WikiMarkupLink"] = "{UP}" + s;
|
||||
if(canDownload) {
|
||||
row["Link"] = "GetFile.aspx?File=" + Tools.UrlEncode(s).Replace("'", "'") + "&AsStreamAttachment=1&Provider=" +
|
||||
provider.GetType().FullName + "&NoHit=1";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue