public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug debuginfod/25797] New: DEBUGINFOD_URLS should accept scheme-free urls
@ 2020-04-07 12:01 fche at redhat dot com
  2020-06-29 12:20 ` [Bug debuginfod/25797] " alizhang at redhat dot com
  2020-07-05 15:19 ` mark at klomp dot org
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2020-04-07 12:01 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=25797

            Bug ID: 25797
           Summary: DEBUGINFOD_URLS should accept scheme-free urls
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

With commit 4c1de9608b, the client code requires a DEBUGINFOD_URL to be started
with "http:" or "https:" or "file:", in order to give a successful result code.
 But libcurl also accepts "hostname:PORT" or "/path/to/something"  as URLs, as
do web browsers.  Using these scheme-free heuristic URLs results in an -ENOENT
error, even though the download succeeds.

We should review the file: / http: heuristic processing to be similar or the
same as libcurl, and let people abbreviate URLs a little more.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug debuginfod/25797] DEBUGINFOD_URLS should accept scheme-free urls
  2020-04-07 12:01 [Bug debuginfod/25797] New: DEBUGINFOD_URLS should accept scheme-free urls fche at redhat dot com
@ 2020-06-29 12:20 ` alizhang at redhat dot com
  2020-07-05 15:19 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: alizhang at redhat dot com @ 2020-06-29 12:20 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=25797

Alice Zhang <alizhang at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alizhang at redhat dot com
           Assignee|unassigned at sourceware dot org   |alizhang at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug debuginfod/25797] DEBUGINFOD_URLS should accept scheme-free urls
  2020-04-07 12:01 [Bug debuginfod/25797] New: DEBUGINFOD_URLS should accept scheme-free urls fche at redhat dot com
  2020-06-29 12:20 ` [Bug debuginfod/25797] " alizhang at redhat dot com
@ 2020-07-05 15:19 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2020-07-05 15:19 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=25797

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
commit 8de6f9af46f12fe3b2a0871523f6df13c4b39e34 (HEAD -> master, origin/master,
origin/HEAD)
Author: Alice Zhang <alizhang@redhat.com>
Date:   Fri Jul 3 13:37:34 2020 -0400

    debuginfod: DEBUGINFOD_URLS should accept scheme-free urls

    Check scheme instead of effective url so that user may abbreviate
    DEBUGINFOD_URL. Add one test for scheme free http url.

    Notice that libcurl does not provide an almighty scheme free url
    support, /path/to/something without FILE:// can not be recognized
    in most circumstances, therefore for the neatness of our code
    structure, DEBUGINFOD_ URL of scheme "FILE" must be input as URI.

    Signed-off-by: Alice Zhang <alizhang@redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-05 15:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07 12:01 [Bug debuginfod/25797] New: DEBUGINFOD_URLS should accept scheme-free urls fche at redhat dot com
2020-06-29 12:20 ` [Bug debuginfod/25797] " alizhang at redhat dot com
2020-07-05 15:19 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).