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

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).