From: "Aníbal Limón" <anibal.limon@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Cc: patrick.ohly@gmx.de
Subject: Re: [PATCH] classes/base: get_lic_checksum_file_list imporve validaton of url's
Date: Mon, 16 May 2016 12:24:06 -0500 [thread overview]
Message-ID: <573A0236.6040003@linux.intel.com> (raw)
In-Reply-To: <1462984915-12056-1-git-send-email-anibal.limon@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 960 bytes --]
ping
On 05/11/2016 11:41 AM, Aníbal Limón wrote:
> When specify an URL different that supported file:// the function
> returns an empty path causing an exception without notice the user
> that the URL is Malformed.
>
> [YOCTO #9211]
>
> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
> ---
> meta/classes/base.bbclass | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
> index a7ca3a6..c3c2669 100644
> --- a/meta/classes/base.bbclass
> +++ b/meta/classes/base.bbclass
> @@ -105,6 +105,9 @@ def get_lic_checksum_file_list(d):
> # any others should be covered by SRC_URI.
> try:
> path = bb.fetch.decodeurl(url)[2]
> + if not path:
> + raise bb.fetch.MalformedUrl(url)
> +
> if path[0] == '/':
> if path.startswith(tmpdir):
> continue
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2016-05-16 17:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-11 16:41 [PATCH] classes/base: get_lic_checksum_file_list imporve validaton of url's Aníbal Limón
2016-05-16 17:24 ` Aníbal Limón [this message]
2016-05-17 15:17 ` Burton, Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=573A0236.6040003@linux.intel.com \
--to=anibal.limon@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=patrick.ohly@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.