This is an automated email from the ASF dual-hosted git repository. mmerli pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
commit d9f48940208ff81c7f5375f45b47d1ea078c7b44 Author: Sanjeev Kulkarni <[email protected]> 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 2544c7c..bd7f711 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 [email protected].
