[Bug debuginfod/25797] New: DEBUGINFOD_URLS should accept scheme-free urls
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Apr 7 12:01:09 GMT 2020
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.
More information about the Elfutils-devel
mailing list