diff options
author | gerv%gerv.net <> | 2002-04-25 01:25:49 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-04-25 01:25:49 +0000 |
commit | e0abf5a6e9bc24ddda2b38d260859192a6bbbc3a (patch) | |
tree | 6b4474964be2195b24b879ecdbaf8b3836fe0c4b /globals.pl | |
parent | Bug 139800 - remove errant references to index.html. Patch by ddk, 2xr=gerv. (diff) | |
download | bugzilla-e0abf5a6e9bc24ddda2b38d260859192a6bbbc3a.tar.gz bugzilla-e0abf5a6e9bc24ddda2b38d260859192a6bbbc3a.tar.bz2 bugzilla-e0abf5a6e9bc24ddda2b38d260859192a6bbbc3a.zip |
Bug 136180 - use uri/url_quote filters correctly. Patch by ddk; 2xr=gerv.
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/globals.pl b/globals.pl index 2b9434738..ced8b4f87 100644 --- a/globals.pl +++ b/globals.pl @@ -1616,6 +1616,13 @@ $::template ||= Template->new( } , html => \&html_quote , + + # This subroutine in CGI.pl escapes characters in a variable + # or value string for use in a query string. It escapes all + # characters NOT in the regex set: [a-zA-Z0-9_\-.]. The 'uri' + # filter should be used for a full URL that may have + # characters that need encoding. + url_quote => \&url_quote , } , } ) || DisplayError("Template creation failed: " . Template->error()) |