mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
- From SSH manual, a path may contain : if it is presented as absolute path. Update regular expression for splitting accordingly. - Allow Null paths similar to SSH. - Perform a full regular expression match when splitting path. - Simplify regular expression. - Update tests. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>