generic-poky/bitbake/lib/bb/tests
Martin Jansa e8dfafda71 bitbake: fetch2: Don't allow '/' in user:pass, fix branch containing '@'
* currently decode_url regexp parses branch=@foo as username so it ends like this:
  - ('git', '', 'foo', 'git.openembedded.org/bitbake;branch=', '', {})
  + ('git', 'git.openembedded.org', '/bitbake', '', '', {'branch': '@foo'})
* http://hg.python.org/cpython/file/2.7/Lib/urlparse.py also assumes
  that there is at least one '/' as separator between netloc and path,
  params, so it looks reasonable to prevent including '/' in username

(Bitbake rev: 3c694e20df3b1d442603300786580e4b2f4bf5f3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-17 14:44:30 +00:00
..
__init__.py bitbake: Fixup bitbake-selftest 2012-05-04 17:41:47 +01:00
codeparser.py bitbake: fetch2: Add editor modelines for bb.tests.* 2013-02-17 22:32:05 +00:00
cow.py bitbake: fetch2: Add editor modelines for bb.tests.* 2013-02-17 22:32:05 +00:00
data.py bitbake: tests/data: Whitespace in key names is a really bad idea 2013-09-22 12:19:45 +01:00
fetch.py bitbake: fetch2: Don't allow '/' in user:pass, fix branch containing '@' 2014-02-17 14:44:30 +00:00
utils.py bitbake: fetch2: Add editor modelines for bb.tests.* 2013-02-17 22:32:05 +00:00