Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 29983
Status: resolved
Priority: 0/
Queue: Maypole

People
Owner: Nobody in particular
Requestors: ben [...] decadent.org.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 2.12
  • 2.121
Fixed in: 2.13



Subject: Header template can construct wrong URL for maypole.css
Date: Sun, 14 Oct 2007 17:40:13 +0100
To: bug-Maypole [...] rt.cpan.org
From: Ben Hutchings <ben [...] decadent.org.uk>
maypole.css is static content which may not live in the root of the site. The header template uses config.uri_base but not base in constructing its URL. If I understand correctly, config.uri_base is not needed due to the <base> element, but base is. --- maypole.orig/lib/Maypole/templates/factory/header +++ maypole/lib/Maypole/templates/factory/header @@ -10,7 +10,7 @@ </title> <meta http-equiv="Content-Type" content="text/html; charset=[% request.document_encoding %]" /> <base href="[% config.uri_base%]"/> - <link title="Maypole" href="[% config.uri_base %]/maypole.css" type="text/css" rel="stylesheet" /> + <link title="Maypole" href="[% base %]/maypole.css" type="text/css" rel="stylesheet" /> </head> <body> <div class="content"> -- END -- Ben. -- Ben Hutchings Lowery's Law: If it jams, force it. If it breaks, it needed replacing anyway.
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Fixed in SVN revision 587 due for release in 2.13
fixed in svn revision 587
resolved in 2.13