Skip Menu |

This queue is for tickets about the SVN-Web CPAN distribution.

Report information
The Basics
Id: 25133
Status: resolved
Priority: 0/
Queue: SVN-Web

People
Owner: NIKC [...] cpan.org
Requestors: CLAESJAC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.52
Fixed in: (no value)



Hi, recent changes to the uri filter in Template-Toolkit that converts / to %2F which causes URI:s to be incorrect everywhere. This page has more information about the change: http:// search.cpan.org/~abw/Template-Toolkit-2.18/lib/Template/Filters.pm#uri Reverting back to Template-Toolkit 2.15 solves the problem tho. Thanks for a great SVN browser /Claes
From: jorrit [...] ncode.nl
On Za. feb. 24 17:07:45 2007, CLAESJAC wrote: Show quoted text
> Hi, > > recent changes to the uri filter in Template-Toolkit that converts / > to %2F which causes URI:s to > be incorrect everywhere. This page has more information about the > change: http:// > search.cpan.org/~abw/Template-Toolkit-
2.18/lib/Template/Filters.pm#uri Show quoted text
> > Reverting back to Template-Toolkit 2.15 solves the problem tho. > > Thanks for a great SVN browser > > /Claes
It's insane that this bug hasn't been fixed yet: when your setup is up- to-date, SVN::Web simply does not work. You can also fix it by removing | uri from your template files, but this will probably leave you with non-compliant urls. Most browsers are however quite relaxed about this, so for me this works. Jorrit
Subject: Re: [rt.cpan.org #25133] Recent changes in Template::Toolkit makes URL:s be outputed incorrectly
Date: Tue, 20 Mar 2007 22:10:33 +0000
To: bug-SVN-Web [...] rt.cpan.org
From: Nik Clayton <nik [...] ngo.org.uk>
Jorrit Schippers via RT wrote: Show quoted text
> Queue: SVN-Web > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=25133 > > > On Za. feb. 24 17:07:45 2007, CLAESJAC wrote:
>> Hi, >> >> recent changes to the uri filter in Template-Toolkit that converts / >> to %2F which causes URI:s to >> be incorrect everywhere. This page has more information about the >> change: http:// >> search.cpan.org/~abw/Template-Toolkit-
> 2.18/lib/Template/Filters.pm#uri
>> Reverting back to Template-Toolkit 2.15 solves the problem tho. >> >> Thanks for a great SVN browser >> >> /Claes
> > It's insane that this bug hasn't been fixed yet: when your setup is up- > to-date, SVN::Web simply does not work. You can also fix it by > removing | uri from your template files, but this will probably leave > you with non-compliant urls. Most browsers are however quite relaxed > about this, so for me this works.
And as and when I have a couple of free hours in which to write a fix, test it, and prepare a new distribution of SVN::Web I'll do so. However, at the moment, I'm rather busy in real life, and expect to be until the first week in April. Patches gratefully received. Either that, or a laptop, so I can use the hours I currently spend commuting doing productive open source work. N
Could you try the patch at http://jc.ngo.org.uk/~nik/tt.patch please. It passes all my local tests, and looks good, but a little more exposure would help before I cut a release.
Fixed in r1302 (http://jc.ngo.org.uk:80/svnweb/jc/revision/?rev=1302). I'll be releasing 0.53 shortly which will include this change. Many thanks for the report.