From 9ab54f9475a137cb8df7bc6a2c96f088642c3f10 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 13 Jan 2014 09:16:24 +0100 Subject: [PATCH] Filerequest: UrlDecode() the request. Makes things work even if the filename has some URL-disallowed characters (spaces, utf-8, or otherwise). --- src/kits/network/libnetapi/FileRequest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kits/network/libnetapi/FileRequest.cpp b/src/kits/network/libnetapi/FileRequest.cpp index 69f8eebf29..e26c89cb48 100644 --- a/src/kits/network/libnetapi/FileRequest.cpp +++ b/src/kits/network/libnetapi/FileRequest.cpp @@ -23,6 +23,7 @@ BFileRequest::BFileRequest(const BUrl& url, BUrlProtocolListener* listener, BUrlRequest(url, listener, context, "BUrlProtocol.File", "file"), fResult() { + fUrl.UrlDecode(); }