[Templates-cvs] cvs commit: Template2/docsrc/lib/misc filters
cvs@template-toolkit.org
cvs@template-toolkit.org
cvs 06/05/30 07:47:19
Modified: docsrc/lib/misc filters
Log:
* documented fix to the uri filter
Revision Changes Path
1.15 +5 -6 Template2/docsrc/lib/misc/filters
Index: filters
===================================================================
RCS file: /template-toolkit/Template2/docsrc/lib/misc/filters,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- filters 2006/01/30 14:59:37 1.14
+++ filters 2006/05/30 07:47:19 1.15
@@ -182,12 +182,11 @@
my%20file.html
-Note that URI escaping isn't always enough when generating hyperlinks in
-an HTML document. The C<&> character, for example, is valid in a URI and
-will not be escaped by the URI filter. In this case you should also filter
-the text through the 'html' filter.
-
- <a href="[% filename | uri | html %]">click here</a>
+Note that as of TT version 2.16, the uri filter now correctly encodes
+all reserved characters. This includes C<&>, C<@>, C</>, C<;>, C<:>,
+C<=>, C<+>, C<?> and C<$> which were not escaped (incorrectly) by the
+uri filter in versions 2.15 and earlier. See RFC 2396 for further
+details.
=head2 indent(pad)