diff options
author | bptato <nincsnevem662@gmail.com> | 2024-03-25 23:45:30 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-03-25 23:45:30 +0100 |
commit | efd615e76f5a1c0f19951b69f793885cb2cb75d1 (patch) | |
tree | f09986fa3ac28f888a7ff96c7e15245cd4b36a9e /src | |
parent | 15bce888b11aa094818e4356afe6ff0dcd808486 (diff) | |
download | chawan-efd615e76f5a1c0f19951b69f793885cb2cb75d1.tar.gz |
pager: percent-decode path name in askDownloadPath
Diffstat (limited to 'src')
-rw-r--r-- | src/local/pager.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim index 4628b11f..c734b936 100644 --- a/src/local/pager.nim +++ b/src/local/pager.nim @@ -1570,7 +1570,7 @@ proc askDownloadPath(pager: Pager; container: Container; response: Response) = if pathname[^1] == '/': buf &= "index.html" else: - buf &= container.url.pathname.afterLast('/') + buf &= container.url.pathname.afterLast('/').percentDecode() pager.setLineEdit(lmDownload, buf) pager.lineData = LineDataDownload( outputId: response.outputId, |