]> git.ipfire.org Git - thirdparty/sarg.git/commit
Fix the link to the URL in some reports
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Fri, 6 Jan 2012 13:08:58 +0000 (13:08 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Fri, 6 Jan 2012 13:08:58 +0000 (13:08 +0000)
commit58c40ade99fffb2459e0525247d4570ca9ef3820
tree79d3b5a5cd9b2856944a1cabcd4ae40f5110d66b
parent4ad38be05fb7a41f6a7f78b7a0f6be937ccdccf1
Fix the link to the URL in some reports

Some URL are stripped of the scheme while others are not. Yet they were
all printed using the same function that prefixed a http:// in front of
the URL even if the original scheme was stil present.

To make the links clickable without error in the report, the scheme may
be provided by the caller when it requests the printing of the URL in a
HTTM link.

The affected reports were the authentication failures, the denied
accesses and the downloaded files.

Thanks to budsz for reporting this problem.
authfail.c
dansguardian_report.c
denied.c
download.c
html.c
include/defs.h
redirector.c
siteuser.c
topsites.c
util.c