]> code.ossystems Code Review - openembedded-core.git/commit
oe-git-proxy: Correct the parsing of a port in $ALL_PROXY
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 18 Sep 2015 10:46:05 +0000 (12:46 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Sep 2015 14:20:09 +0000 (15:20 +0100)
commit39eb19e2ae9add58c763b71b54bdb3739041b2d0
tree3bda07196cde82c0d54eea77e6d0a6c01d14c09f
parentc01e61d8b79d644880415986bdb1ba925f194329
oe-git-proxy: Correct the parsing of a port in $ALL_PROXY

Due to an error in the regular expression used to extract a port
number specified in $ALL_PROXY, rather than allowing the port number
to be followed by an optional "/", the port was required to be
followed by "/?".

This corrects the regular expression to allow an optional "/". It also
allows the odd "/?" suffix for backwards compatibility.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/oe-git-proxy