Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4245B200D1A for ; Mon, 9 Oct 2017 18:11:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 40AE21609CE; Mon, 9 Oct 2017 16:11:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 864F01609BB for ; Mon, 9 Oct 2017 18:11:06 +0200 (CEST) Received: (qmail 24325 invoked by uid 500); 9 Oct 2017 16:11:05 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 24303 invoked by uid 99); 9 Oct 2017 16:11:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Oct 2017 16:11:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 39C7FC1E4F for ; Mon, 9 Oct 2017 16:11:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id pSo9F-N0WJuQ for ; Mon, 9 Oct 2017 16:11:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 90BDB61095 for ; Mon, 9 Oct 2017 16:11:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 543EDE0059 for ; Mon, 9 Oct 2017 16:11:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B349724380 for ; Mon, 9 Oct 2017 16:11:00 +0000 (UTC) Date: Mon, 9 Oct 2017 16:11:00 +0000 (UTC) From: "Brice Bingman (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-7786) JarActionHandler.tokenizeArguments removes all quotes from program arguments MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 09 Oct 2017 16:11:07 -0000 Brice Bingman created FLINK-7786: ------------------------------------ Summary: JarActionHandler.tokenizeArguments removes all quotes from program arguments Key: FLINK-7786 URL: https://issues.apache.org/jira/browse/FLINK-7786 Project: Flink Issue Type: Bug Affects Versions: 1.3.0 Reporter: Brice Bingman Priority: Minor I would like to send json as an argument to my program, but when submitting it via the REST API, all the quotes in the json are gone, resulting in invalid json. The JarActionHandler.tokenizeArguments should only remove the leading and trailing quotes of an argument, not all of the quotes. Current workaround: Replace the quotes in json with an escape character and replace them back in the run method. -- This message was sent by Atlassian JIRA (v6.4.14#64029)