https://fedorahosted.org/389/ticket/48143
https://fedorahosted.org/389/attachment/ticket/48143/0001-Ticket-48143-Passw... git patch file (master) -- revised to use shellEscape to escape special characters
Thank you for the comment, Rich. I've attached the second patch...
On 04/07/2015 01:34 PM, 389 Project wrote:
#48143: Password is not correctly passed to perl command line tools if it contains shell special characters. -------------------------------------------+------------------------------- Reporter: dmytroleonenko | Owner: nhosoi Type: defect | Status: accepted Priority: major | Milestone: 0.0 Component: Command Line Utilities | NEEDS_TRIAGE Resolution: | Version: 1.2.11 Blocked By: | Keywords: Review: review? | Blocking: Red Hat Bugzilla: | Ticket origin: Community -------------------------------------------+-------------------------------
Comment (by rmeggins):
I think you will still run into problems if the password contains ' or . Instead, you might want to use the shellEscape function in DSUtil.pm.
389-devel@lists.fedoraproject.org