summaryrefslogtreecommitdiffstats
path: root/gemfiles
diff options
context:
space:
mode:
authorTeddy Wing2018-01-29 00:07:56 +0100
committerTeddy Wing2018-01-29 00:26:07 +0100
commitc70cf3982c007108dcd631a9d1011e2e6c7e31de (patch)
tree016202abca2ee7de61df8039a7e310dd7c531a89 /gemfiles
parentcea2bbe0d1b2c9629d7fab397093856580a9e099 (diff)
downloadhcl-shell-escape-passwords.tar.bz2
App#save_password: Shell escape passwordshell-escape-passwords
Escape special shell characters so that passwords with single quotes can be saved to the keychain. Otherwise, the single quotes surrounding the "-w '%s'" cause an error on passwords with single quotes. I know testing private methods is not recommended, but this seemed like something that would be good to test. Maybe the method should be made public if that's a concern?
Diffstat (limited to 'gemfiles')
0 files changed, 0 insertions, 0 deletions