ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laszlo Puskas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-19067) Special characters break creating user homes
Date Fri, 02 Dec 2016 19:05:59 GMT
Laszlo Puskas created AMBARI-19067:
--------------------------------------

             Summary: Special characters break creating user homes
                 Key: AMBARI-19067
                 URL: https://issues.apache.org/jira/browse/AMBARI-19067
             Project: Ambari
          Issue Type: Bug
            Reporter: Laszlo Puskas
            Assignee: Laszlo Puskas


The initial implementation of the post user creation script generates a json from the csv
passed to it to create user home folders in bulk.

If usernames contain special characters like quotes etc .. the generated json input file gets
broken.

The fix is to escape usernames while generating the json.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message