]> code.ossystems Code Review - openembedded-core.git/commit
scripts/send-error-report: fetch /Errors/ instead of /.
authorRoxana Ciobanu <roxana.ciobanu@intel.com>
Mon, 4 Aug 2014 12:16:39 +0000 (15:16 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Aug 2014 09:20:35 +0000 (10:20 +0100)
commitaf93c89febcd186d7e31f1d15affc15f38e3379d
treed1ba96d93d4f85d828f4416835b21b689889e69e
parentd98e43a332f708b6db75109b90dcc6f562685f7a
scripts/send-error-report: fetch /Errors/ instead of /.

If HTTP_PROXY or http_proxy is set when the send-error-report script
is run, it will check to see if fetching / on the specified server
returns 200 without the proxy set. If it does it will assume that the
proxy is not needed. However this check can never work because
fetching / always redirects to /Errors/ in the current code and
thus returns code 301. This is fixed by fetching /Errors/ instead of /.

[YOCTO #YB6576]

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/send-error-report