Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 57590
Status: resolved
Worked: 50 min
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: michael.jemmeson [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Template::Filters - uri_filter/url_filter regex needs updating
URI::Escape now uses the RFC3986 regex as below (lines from URI::Escape) my %Unsafe = ( RFC2732 => qr/[^A-Za-z0-9\-_.!~*'()]/, RFC3986 => qr/[^A-Za-z0-9\-\._~"]/, ); lines 282 and 307 in Template::Filters should be updated accordingly to match the new RFC spec. (or allow config setting of RFC version) thanks.
On Tue May 18 12:15:25 2010, mjemmeson wrote: Show quoted text
> URI::Escape now uses the RFC3986 regex as below (lines from URI::Escape)
Now fixed. https://github.com/abw/Template2/commit/4dfa10146f03c375140b04804bc59c3606daeccd