diff options
author | Ming Liu <liu.ming50@gmail.com> | 2018-04-01 23:15:27 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-03 10:57:50 +0100 |
commit | 4290e04b69360b5e1da9f37166015e30f66cb335 (patch) | |
tree | 4148d19eec97af24fe649ac96c8595060190d09c /meta | |
parent | ae230e1f858f83d1ff063554b49bd3ee1f880f76 (diff) | |
download | openembedded-core-4290e04b69360b5e1da9f37166015e30f66cb335.tar.gz openembedded-core-4290e04b69360b5e1da9f37166015e30f66cb335.tar.bz2 openembedded-core-4290e04b69360b5e1da9f37166015e30f66cb335.zip |
recipetool: create: fix port number parsing issue
A flaw was found when I run:
$ recipetool create "ssh://git@xxx.xxx:7999/xxx.git"
the url turned out to be: "git://git@xxx.xxx/7999/xxx.git;protocol=ssh"
after parsing, the port number was parsed as part of the path, this is
definitely wrong and lead to fetching failures.
This issue could be fixed in reformat_git_uri, by filtering out port
numbers when formatting ":".
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions