[ 
https://issues.apache.org/jira/browse/PHOENIX-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabriel Reid updated PHOENIX-897:
---------------------------------

    Description: 
The Python psql command converts the provided command-line parameters into a 
string, and then allows the shell to interpret the created string. If 
characters that have a special meaning are supplied as a parameter (e.g. pipe, 
semicolon), they are not properly quoted before being passed on to the shell, 
causing the tool to crash with an error from the underlying shell.

It's should be possible to provide any character (particularly common CSV 
separator characters like pipe and semicolon) as commandline parameters, so the 
provided parameters should be properly quoted before passing them to the 
underlying shell.
    Environment:     (was: The Python psql command converts the provided 
command-line parameters into a string, and then allows the shell to interpret 
the created string. If characters that have a special meaning are supplied as a 
parameter (e.g. pipe, semicolon), they are not properly quoted before being 
passed on to the shell, causing the tool to crash with an error from the 
underlying shell.

It's should be possible to provide any character (particularly common CSV 
separator characters like pipe and semicolon) as commandline parameters, so the 
provided parameters should be properly quoted before passing them to the 
underlying shell.)

> psql command doesn't allow using certain characters in invocation
> -----------------------------------------------------------------
>
>                 Key: PHOENIX-897
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-897
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Gabriel Reid
>
> The Python psql command converts the provided command-line parameters into a 
> string, and then allows the shell to interpret the created string. If 
> characters that have a special meaning are supplied as a parameter (e.g. 
> pipe, semicolon), they are not properly quoted before being passed on to the 
> shell, causing the tool to crash with an error from the underlying shell.
> It's should be possible to provide any character (particularly common CSV 
> separator characters like pipe and semicolon) as commandline parameters, so 
> the provided parameters should be properly quoted before passing them to the 
> underlying shell.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to