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

--- Comment #11 from Frank Ch. Eigler <fche at redhat dot com> ---
> It's easy to distinguish --homepage starting with '^http' and in that case
> only do the redirect, otherwise, if --homepage is just a <filename>.html, do
> both redirect and serve that file.

One's a redirect, one's a file content service.  A redirect to /foo.html would
work entirely differently to a web browser than a service of the contents of
/foo.html; the former can be furtherprocessed by a nearby web proxy/server, the
latter cannot.  One can redirect to other non-http URLs.  They operations are
different and don't need to be munged into a single option that then needs 
iffy heuristics to tell the two apart.

> For serving whole directory ... how would you envision passing that
> directory to debuginfod?  As a tarball?

This opens yet more security cans of worms.  Please let's not.

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

Reply via email to