URL:
https://github.com/freeipa/freeipa/pull/5538
Author: antoniotorresm
Title: #5538: sudocmd: ensure command doesn't contain trailing dot before adding it
Action: opened
PR body:
"""
Trailing dots aren't permitted in sudo commands, as
enforced explicitly in `get_dn`. Performing this check
before adding the command prevents the user from
entering invalid commands, which would otherwise trigger
errors when accessing them afterwards.
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1925410
Signed-off-by: Antonio Torres <antorres(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5538/head:pr5538
git checkout pr5538