www/88263: http://docs.freebsd.org/cgi/mid.cgi output invokes
stylesheet available on www.freebsd.org but not docs.freebsd.org
Wang Lam
wlam+fbd at blanksquare.net
Sun Oct 30 22:40:12 PST 2005
>Number: 88263
>Category: www
>Synopsis: http://docs.freebsd.org/cgi/mid.cgi output invokes stylesheet available on www.freebsd.org but not docs.freebsd.org
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-www
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 31 06:40:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Wang Lam
>Release:
>Organization:
>Environment:
>Description:
Some pages generated by http://docs/cgi/mid.cgi refer to /layout/* files,
and not http://www.FreeBSD.org/layout/* files as http://docs/cgi/getmsg.cgi
does. For example,
mid.cgi:
<link rel="stylesheet" media="screen"
href="/layout/css/fixed.css" type="text/css"
title="Normal Text" />
<link rel="alternate stylesheet" media="screen"
href="/layout/css/fixed_large.css" type="text/css"
title="Large Text" />
<script type="text/javascript" src="/layout/js/styleswitcher.js">
</script>
getmsg.cgi:
<link rel="stylesheet" media="screen"
href="http://www.FreeBSD.org/layout/css/fixed.css" type="text/css"
title="Normal Text" />
<link rel="alternate stylesheet" media="screen"
href="http://www.FreeBSD.org/layout/css/fixed_large.css" type="text/css"
title="Large Text" />
<script type="text/javascript" src="http://www.FreeBSD.org/layout/js/styleswitcher.js">
</script>
On Firefox, getmsg.cgi renders nicely but mid.cgi has no style applied.
>How-To-Repeat:
>From a mailing-list-archive message, select "Next in thread", e.g. go from
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=485248+0+archive/2005/freebsd-stable/20051030.freebsd-stable
(which looks fine)
to
http://docs.freebsd.org/cgi/mid.cgi?db=irt&id=43616CEA.9020600@xena.ipaustralia.gov.au
(which is unstyled).
>Fix:
Either prefix http://www.FreeBSD.org/ to occurrences of /layout/ in mid.cgi, or
sync http://www.FreeBSD.org/layout to http://docs.FreeBSD.org/layout.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-www
mailing list