This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 14e893a  Encode the path for download (#1765)
14e893a is described below

commit 14e893a9bd5d49a94076dcd7ca2f3d6b7c3bebfc
Author: Sanjeev Kulkarni <sanjee...@gmail.com>
AuthorDate: Thu May 10 22:46:09 2018 -0700

    Encode the path for download (#1765)
---
 .../java/org/apache/pulsar/functions/worker/rest/api/FunctionsImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/FunctionsImpl.java
 
b/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/FunctionsImpl.java
index 75e60cf..d306efa 100644
--- 
a/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/FunctionsImpl.java
+++ 
b/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/FunctionsImpl.java
@@ -628,7 +628,7 @@ public class FunctionsImpl {
                     @Override
                     public void write(final OutputStream output) throws 
IOException {
                         
Utils.downloadFromBookkeeper(worker().getDlogNamespace(),
-                                output, Codec.decode(path));
+                                output, Codec.encode(path));
                     }
                 }).build();
     }

-- 
To stop receiving notification emails like this one, please contact
mme...@apache.org.

Reply via email to