HomePhabricator

subrepo: reject potentially unsafe subrepo paths (BC) (SEC)

Authored by yuja.

Description

subrepo: reject potentially unsafe subrepo paths (BC) (SEC)

In addition to the previous patch, this prohibits '~', '$nonexistent', etc.
for any subrepo types. I think this is safer, and real-world subrepos wouldn't
use such (local) paths.

Details

Committed
yujaJan 8 2019, 8:19 AM
Parents
rHG6c10eba6b9cd: subrepo: prohibit variable expansion on creation of hg subrepo (SEC)
Branches
Unknown
Tags
Unknown