]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 398701: Replace |FILTER url_quote| by |FILTER uri|
authorFrédéric Buclin <LpSolit@gmail.com>
Thu, 22 Jul 2010 22:46:02 +0000 (00:46 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 22 Jul 2010 22:46:02 +0000 (00:46 +0200)
r/a=mkanat

69 files changed:
Bugzilla/Template.pm
docs/en/xml/customization.xml
t/008filter.t
template/en/default/account/email/change-new.txt.tmpl
template/en/default/account/email/change-old.txt.tmpl
template/en/default/account/email/request-new.txt.tmpl
template/en/default/account/password/forgotten-password.txt.tmpl
template/en/default/account/prefs/saved-searches.html.tmpl
template/en/default/account/profile-activity.html.tmpl
template/en/default/admin/classifications/edit.html.tmpl
template/en/default/admin/classifications/select.html.tmpl
template/en/default/admin/components/confirm-delete.html.tmpl
template/en/default/admin/components/edit.html.tmpl
template/en/default/admin/components/footer.html.tmpl
template/en/default/admin/components/list.html.tmpl
template/en/default/admin/custom_fields/edit.html.tmpl
template/en/default/admin/fieldvalues/confirm-delete.html.tmpl
template/en/default/admin/fieldvalues/footer.html.tmpl
template/en/default/admin/fieldvalues/list.html.tmpl
template/en/default/admin/groups/delete.html.tmpl
template/en/default/admin/keywords/edit.html.tmpl
template/en/default/admin/milestones/confirm-delete.html.tmpl
template/en/default/admin/milestones/footer.html.tmpl
template/en/default/admin/milestones/list.html.tmpl
template/en/default/admin/params/editparams.html.tmpl
template/en/default/admin/params/index.html.tmpl
template/en/default/admin/products/confirm-delete.html.tmpl
template/en/default/admin/products/edit.html.tmpl
template/en/default/admin/products/footer.html.tmpl
template/en/default/admin/products/list.html.tmpl
template/en/default/admin/products/updated.html.tmpl
template/en/default/admin/sanitycheck/messages.html.tmpl
template/en/default/admin/table.html.tmpl
template/en/default/admin/users/confirm-delete.html.tmpl
template/en/default/admin/users/listselectvars.html.tmpl
template/en/default/admin/users/responsibilities.html.tmpl
template/en/default/admin/users/userdata.html.tmpl
template/en/default/admin/versions/confirm-delete.html.tmpl
template/en/default/admin/versions/footer.html.tmpl
template/en/default/admin/versions/list.html.tmpl
template/en/default/attachment/cancel-create-dupe.html.tmpl
template/en/default/attachment/diff-header.html.tmpl
template/en/default/bug/create/create-guided.html.tmpl
template/en/default/bug/create/create.html.tmpl
template/en/default/bug/dependency-tree.html.tmpl
template/en/default/bug/field-label.html.tmpl
template/en/default/bug/navigate.html.tmpl
template/en/default/bug/show-multiple.html.tmpl
template/en/default/config.rdf.tmpl
template/en/default/global/choose-classification.html.tmpl
template/en/default/global/choose-product.html.tmpl
template/en/default/global/common-links.html.tmpl
template/en/default/global/messages.html.tmpl
template/en/default/global/site-navigation.html.tmpl
template/en/default/global/useful-links.html.tmpl
template/en/default/global/user-error.html.tmpl
template/en/default/list/list.html.tmpl
template/en/default/list/list.ics.tmpl
template/en/default/list/quips.html.tmpl
template/en/default/list/table.html.tmpl
template/en/default/reports/components.html.tmpl
template/en/default/reports/create-chart.html.tmpl
template/en/default/reports/delete-series.html.tmpl
template/en/default/reports/duplicates-table.html.tmpl
template/en/default/reports/edit-series.html.tmpl
template/en/default/reports/keywords.html.tmpl
template/en/default/reports/report-table.html.tmpl
template/en/default/reports/report.html.tmpl
template/en/default/sidebar.xul.tmpl

index ffd702e62663a8a0e92c46509b05e362b968ad3f..aca7cb9f09d6e39c8cb05b20fd3aa34d1e54a3d0 100644 (file)
@@ -674,12 +674,6 @@ sub create {
 
             xml => \&Bugzilla::Util::xml_quote ,
 
-            # This filter 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 => \&Bugzilla::Util::url_quote ,
-
             # This filter is similar to url_quote but used a \ instead of a %
             # as prefix. In addition it replaces a ' ' by a '_'.
             css_class_quote => \&Bugzilla::Util::css_class_quote ,
index f397cff539e531c1ef90792f2efe29e343d95d57..9b62b1d0b4c8f2b8d959a38d3dfa27b1d7012217 100644 (file)
         This means that if the data can possibly contain special HTML characters
         such as &lt;, and the data was not intended to be HTML, they need to be
         converted to entity form, i.e. &amp;lt;.  You use the 'html' filter in the
-        Template Toolkit to do this.  If you forget, you may open up
-        your installation to cross-site scripting attacks.
+        Template Toolkit to do this (or the 'uri' filter to encode special
+        characters in URLs).  If you forget, you may open up your installation
+        to cross-site scripting attacks.
       </para>
 
-      <para>
-        Also note that Bugzilla adds a few filters of its own, that are not
-        in standard Template Toolkit.  In particular, the 'url_quote' filter
-        can convert characters that are illegal or have special meaning in URLs,
-        such as &amp;, to the encoded form, i.e. %26.  This actually encodes most
-        characters (but not the common ones such as letters and numbers and so
-        on), including the HTML-special characters, so there's never a need to
-        HTML filter afterwards.
-      </para>
       <para>
         Editing templates is a good way of doing a <quote>poor man's custom
         fields</quote>.
index 5a5b223c8a22982f2845f51300ceb4f712df98a0..0c38380df1c90a88298157ba40f251ccbeb86dcb 100644 (file)
@@ -223,8 +223,8 @@ sub directive_ok {
     # Things which are already filtered
     # Note: If a single directive prints two things, and only one is 
     # filtered, we may not catch that case.
-    return 1 if $directive =~ /FILTER\ (html|csv|js|base64|url_quote|css_class_quote|
-                                        ics|quoteUrls|time|uri|xml|lower|html_light|
+    return 1 if $directive =~ /FILTER\ (html|csv|js|base64|css_class_quote|ics|
+                                        quoteUrls|time|uri|xml|lower|html_light|
                                         obsolete|inactive|closed|unitconvert|
                                         txt|html_linebreak|none)\b/x;
 
index 5803b027473a960a21560cb60f54aa6048ac3320..b40ab9852f456fd169ef5b21e48051de49e77848 100644 (file)
@@ -30,12 +30,12 @@ for the account [% oldemailaddress %] to your address.
 
 To confirm the change, visit the following link:
 
-[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cfmem
+[%+ urlbase %]token.cgi?t=[% token FILTER uri %]&a=cfmem
 
 If you are not the person who made this request, or you wish to cancel
 this request, visit the following link:
 
-[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cxlem
+[%+ urlbase %]token.cgi?t=[% token FILTER uri %]&a=cxlem
 
 If you do nothing, the request will lapse after [% constants.MAX_TOKEN_AGE %] days
 (on [% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z") %]).
index 6b777442084981d7c5c67040b8789d8d07a86e3b..ee66c0f24d73a240e489abe72f637be96ab6fb4d 100644 (file)
@@ -39,7 +39,7 @@ for your account to [%+ newemailaddress %].
 If you are not the person who made this request, or you wish to cancel
 this request, visit the following link:
 
-[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cxlem
+[%+ urlbase %]token.cgi?t=[% token FILTER uri %]&a=cxlem
 
 If you do nothing, and [%+ newemailaddress %] confirms this request,
 the change will be made permanent after [% constants.MAX_TOKEN_AGE %] days
index c56054b94110894727af0a86e971c14321a5cf19..8fb36926f88d57d5310f0ac43293880692120319 100644 (file)
@@ -32,7 +32,7 @@ using your email address ([% email %]).
 To continue creating an account using this email address, visit the 
 following link by [% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z") %]:
 
-[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=request_new_account
+[%+ urlbase %]token.cgi?t=[% token FILTER uri %]&a=request_new_account
 
 If you did not receive this email before [% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z") %] or
 you wish to create an account using a different email address you can begin
@@ -50,7 +50,7 @@ Hotmail, or similar) to avoid receiving spam at your primary email address.
 If you do not wish to create an account, or if this request was made in
 error you can do nothing or visit the following link:
 
-[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cancel_new_account
+[%+ urlbase %]token.cgi?t=[% token FILTER uri %]&a=cancel_new_account
 
 If the above links do not work, or you have any other issues regarding
 your account, please contact administration at [% Param('maintainer') %].
index 574975c85a9c36a18fc05595700e9f00eb59f874..e014658dc59ddc3159c7b96ac93ab64ea58fd2ff 100644 (file)
@@ -28,12 +28,12 @@ X-Bugzilla-Type: admin
 You have (or someone impersonating you has) requested to change your 
 [%+ terms.Bugzilla %] password. To complete the change, visit the following link:
 
-[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cfmpw
+[%+ urlbase %]token.cgi?t=[% token FILTER uri %]&a=cfmpw
 
 If you are not the person who made this request, or you wish to cancel
 this request, visit the following link:
 
-[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cxlpw
+[%+ urlbase %]token.cgi?t=[% token FILTER uri %]&a=cxlpw
 
 If you do nothing, the request will lapse after [% constants.MAX_TOKEN_AGE %] days
 (on [% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z", timezone) %]) or when you
index f1286134bcd325a249c8ac9e88ef775455955ac5..3cbc05abeb1a5610969a79734cb4e55f0a206443 100644 (file)
@@ -71,7 +71,7 @@
     <tr>
       <td>My [% terms.Bugs %]</td>
       <td>
-        [% filtered_username = user.login FILTER url_quote %]
+        [% filtered_username = user.login FILTER uri %]
         <a href="[% Param('mybugstemplate').replace('%userid%', filtered_username) %]">Run</a>
       </td>
       <td>
       <tr>
         <td>[% q.name FILTER html %]</td>
         <td>
-          <a href="buglist.cgi?cmdtype=dorem&amp;remaction=run&amp;namedcmd=[% q.name FILTER url_quote %]
-                   [% IF q.shared_with_group.id %]&amp;sharer_id=[% user.id FILTER url_quote %][% END %]">Run</a>
+          <a href="buglist.cgi?cmdtype=dorem&amp;remaction=run&amp;namedcmd=[% q.name FILTER uri %]
+                   [% IF q.shared_with_group.id %]&amp;sharer_id=[% user.id FILTER uri %][% END %]">Run</a>
         </td>
         <td>
           <a href="query.cgi?[% q.edit_link FILTER html %]&amp;known_name=
-                   [% q.name FILTER url_quote %]">Edit</a>
+                   [% q.name FILTER uri %]">Edit</a>
         </td>
         <td>
           [% IF q.used_in_whine %]
             Remove from <a href="editwhines.cgi">whining</a> first
           [% ELSE %]
             <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
-                     [% q.name FILTER url_quote %]&amp;token=
-                     [% issue_hash_token([q.id, q.name]) FILTER url_quote %]">Forget</a>
+                     [% q.name FILTER uri %]&amp;token=
+                     [% issue_hash_token([q.id, q.name]) FILTER uri %]">Forget</a>
           [% END %]
         </td>
         <td align="center">
         <td>[% q.shared_with_group.name FILTER html %]</td>
         <td>
           <a href="buglist.cgi?cmdtype=dorem&amp;remaction=run&amp;namedcmd=
-                   [% q.name FILTER url_quote %]&amp;sharer_id=
-                   [% q.user.id FILTER url_quote %]">Run</a>
+                   [% q.name FILTER uri %]&amp;sharer_id=
+                   [% q.user.id FILTER uri %]">Run</a>
         </td>
         <td>
           <a href="query.cgi?[% q.edit_link FILTER html %]&amp;known_name=
-                   [% q.name FILTER url_quote %]">Edit</a>
+                   [% q.name FILTER uri %]">Edit</a>
         </td>
         <td align="center">
           <input type="checkbox" 
index c6fd45c656c99e44cc605081344e6322fa6705ff..ee00875febb60a81e98bc489290d437d520da82e 100644 (file)
@@ -73,7 +73,7 @@
 %]
 
 <p><a href="editusers.cgi?action=edit&amp;userid=
-  [%- otheruser.id FILTER url_quote %]"
+  [%- otheruser.id FILTER uri %]"
   title="Edit user '[% otheruser.login FILTER html %]'">Edit this user</a> or
   <a title="Search For Users" href="editusers.cgi">search for other accounts</a>
   [% IF listselectionvalues.matchtype != 'exact' %]
index 2ef1725f34ac20aa9c149e01e4e0f2a3eddb9f65..17d04de67609146697fe6bf21a9fa3515ebcfa77 100644 (file)
@@ -29,7 +29,7 @@
 
     <tr valign=top>
       <th align="right">
-        <a href="editproducts.cgi?classification=[% classification.name FILTER url_quote %]">
+        <a href="editproducts.cgi?classification=[% classification.name FILTER uri %]">
         Edit Products</a>:
       </th>
       <td>
index d6b352d02c2c013015effb8b6442990cd0dbe6a9..bc78cbb6e2e1c01135d0e294b49926d59698c6b6 100644 (file)
@@ -33,7 +33,7 @@
 
   [% FOREACH cl = classifications %]
     <tr>
-      <td valign="top"><a href="editclassifications.cgi?action=edit&amp;classification=[% cl.name FILTER url_quote %]"><b>[% cl.name FILTER html %]</b></a></td>
+      <td valign="top"><a href="editclassifications.cgi?action=edit&amp;classification=[% cl.name FILTER uri %]"><b>[% cl.name FILTER html %]</b></a></td>
       <td valign="top"> 
       [% IF cl.description %]
         [% cl.description FILTER html_light %]
       [% IF (cl.id == 1) %]
         <td valign="top">[% cl.product_count FILTER html %]</td>
       [% ELSE %]
-        <td valign="top"><a href="editclassifications.cgi?action=reclassify&amp;classification=[% cl.name FILTER url_quote %]">reclassify ([% cl.product_count FILTER html %])</a></td>
+        <td valign="top"><a href="editclassifications.cgi?action=reclassify&amp;classification=[% cl.name FILTER uri %]">reclassify ([% cl.product_count FILTER html %])</a></td>
       [% END %]
 
       [%# don't allow user to delete the default id. %]
       [% IF (cl.id == 1) %]
         <td valign="top">&nbsp;</td>
       [% ELSE %]
-        <td valign="top"><a href="editclassifications.cgi?action=del&amp;classification=[% cl.name FILTER url_quote %]">delete</a></td>
+        <td valign="top"><a href="editclassifications.cgi?action=del&amp;classification=[% cl.name FILTER uri %]">delete</a></td>
       [% END %]
     </tr>
   [% END %]
index d0a1385f18e7c76a67d9c0c609dec00975a33f19..e2caa5208b23ff69d515cd55fbafca780fd783cb 100644 (file)
@@ -90,8 +90,8 @@ from '[% product.name FILTER html %]' product
   <td valign="top">
 [% IF comp.bug_count %]
   <a title="List of [% terms.bugs %] for component '[% comp.name FILTER html %]'"
-     href="buglist.cgi?component=[% comp.name FILTER url_quote %]&amp;product=
-          [%- product.name FILTER url_quote %]">[% comp.bug_count %]</a>
+     href="buglist.cgi?component=[% comp.name FILTER uri %]&amp;product=
+          [%- product.name FILTER uri %]">[% comp.bug_count %]</a>
 [% ELSE %]
   None
 [% END %]
index be14be0541858e384a38a7055846620b70d5709d..e34e18d0c88f2a517c092942dabf9bbae1680257 100644 (file)
@@ -48,8 +48,8 @@
 [% IF comp.bug_count > 0 %]
         <a title="[% terms.Bugs %] in component '[% comp.name FILTER html %]'"
            href="buglist.cgi?component=
-                [%- comp.name FILTER url_quote %]&amp;product=
-                [%- product.name FILTER url_quote %]">[% comp.bug_count %]</a>
+                [%- comp.name FILTER uri %]&amp;product=
+                [%- product.name FILTER uri %]">[% comp.bug_count %]</a>
 [% ELSE %]
         None
 [% END %]
@@ -64,8 +64,8 @@
    <input type="hidden" name="token" value="[% token FILTER html %]">
    <input type="submit" value="Save Changes" id="update"> or <a 
         href="editcomponents.cgi?action=del&amp;product=
-        [%- product.name FILTER url_quote %]&amp;component=
-        [%- comp.name FILTER url_quote %]">Delete</a> this component.
+        [%- product.name FILTER uri %]&amp;component=
+        [%- comp.name FILTER uri %]">Delete</a> this component.
 
 </form>
 
index b2e105eb39d109e7bb07230dfd7fe0c543c1a0db..ec1869b2959d2f7c2e8ebdb08e57cad0f52b1730 100644 (file)
@@ -33,7 +33,7 @@ Edit
   component <a 
   title="Edit Component '[% comp.name FILTER html %]'"
   href="editcomponents.cgi?action=edit&amp;product=
-  [%- product.name FILTER url_quote %]&amp;component=[% comp.name FILTER url_quote %]">
+  [%- product.name FILTER uri %]&amp;component=[% comp.name FILTER uri %]">
    '[% comp.name FILTER html %]'</a> 
   or edit
 [% END %]
@@ -42,13 +42,13 @@ Edit
 other components of product <a 
   title="Choose a component from product '[% product.name FILTER html %]' to edit"
   href="editcomponents.cgi?product=
-  [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>, 
+  [%- product.name FILTER uri %]">'[% product.name FILTER html %]'</a>, 
   or edit 
 [% END %]
 
 product <a 
   title="Edit Product '[% product.name FILTER html %]'"
   href="editproducts.cgi?action=edit&amp;product=
-  [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>.
+  [%- product.name FILTER uri %]">'[% product.name FILTER html %]'</a>.
 
 </p>
index 632d47e6ecce61c89c6ce40afc119549bdf5f70b..b62ce1bae6b39b74ca82c953f3a60732d48afbd5 100644 (file)
 %]
 
 [% edit_contentlink = BLOCK %]editcomponents.cgi?action=edit&amp;product=
-  [%- product.name FILTER url_quote %]&amp;component=%%name%%[% END %]
+  [%- product.name FILTER uri %]&amp;component=%%name%%[% END %]
 [% delete_contentlink = BLOCK %]editcomponents.cgi?action=del&amp;product=
-  [%- product.name FILTER url_quote %]&amp;component=%%name%%[% END %]
+  [%- product.name FILTER uri %]&amp;component=%%name%%[% END %]
 [% bug_count_contentlink = BLOCK %]buglist.cgi?component=%%name%%&amp;product=
-  [%- product.name FILTER url_quote %][% END %]
+  [%- product.name FILTER uri %][% END %]
 
 
 [% columns = [
      overrides = overrides
 %]
 
-<p><a href="editcomponents.cgi?action=add&amp;product=[% product.name FILTER url_quote %]">Add</a>
+<p><a href="editcomponents.cgi?action=add&amp;product=[% product.name FILTER uri %]">Add</a>
     a new component to product '[% product.name FILTER html %]'</p>
 
 [% IF ! showbugcounts %]
 
-  <p><a href="editcomponents.cgi?product=[% product.name FILTER url_quote %]&amp;showbugcounts=1">
+  <p><a href="editcomponents.cgi?product=[% product.name FILTER uri %]&amp;showbugcounts=1">
       Redisplay table with [% terms.bug %] counts (slower)</a></p>
 
 [% END %]
index 755c3642c568877c0c007357d8f43dd5e8ecb00a..ec4e3276d0b754e201b99dfc6d0ef3a650f21221 100644 (file)
       <tr>
         <th>&nbsp;</th>
         <td>
-          <a href="editvalues.cgi?field=[% field.name FILTER url_quote %]">Edit
+          <a href="editvalues.cgi?field=[% field.name FILTER uri %]">Edit
             legal values for this field</a>.
         </td>
 
index 81a5b0f96868f1177cd3d143ee863330d8d44d75..547cac6365ffc7d8ccbec3d4e4c69e37fc541fac 100644 (file)
@@ -49,8 +49,8 @@
   <a title="List of [% terms.bugs %] where '
             [%- field.description FILTER html %]' is '
             [%- value.name FILTER html %]'"
-     href="buglist.cgi?[% field.name FILTER url_quote %]=
-           [%- value.name FILTER url_quote %]">
+     href="buglist.cgi?[% field.name FILTER uri %]=
+           [%- value.name FILTER uri %]">
    [%- value.bug_count FILTER html %]</a>
 [% ELSE %]
   None
@@ -94,8 +94,8 @@
           <a title="List of [% terms.bugs %] where '
                     [%- field.description FILTER html %]' is '
                     [%- value.name FILTER html %]'"
-             href="buglist.cgi?[% field.name FILTER url_quote %]=
-                   [%- value.name FILTER url_quote %]">
+             href="buglist.cgi?[% field.name FILTER uri %]=
+                   [%- value.name FILTER uri %]">
             [% IF value.bug_count > 1 %]
               those [% terms.bugs %] 
             [% ELSE %]
       <li>This value controls the visibility of the following fields:<br>
         [% FOREACH field = value.controls_visibility_of_fields %]
           <a href="editfields.cgi?action=edit&name=
-                   [%- field.name FILTER url_quote %]">
+                   [%- field.name FILTER uri %]">
             [%- field.description FILTER html %] 
             ([% field.name FILTER html %])</a><br>
         [% END %]
        [% FOREACH field_name = value.controlled_values.keys %]
          [% FOREACH controlled = value.controlled_values.${field_name} %]
            <a href="editvalues.cgi?action=edit&field=
-                    [%- controlled.field.name FILTER url_quote %]&value=
-                    [%- controlled.name FILTER url_quote %]">
+                    [%- controlled.field.name FILTER uri %]&value=
+                    [%- controlled.name FILTER uri %]">
              [% controlled.field.description FILTER html %]
              ([% controlled.field.name FILTER html %]):
              [%+ controlled.name FILTER html %]</a><br>
index 288612d4c4db4728e981edef47913ce2b23d3db2..7d4a41d47f5fcfef16b28fee3f9e21ff9fde323b 100644 (file)
@@ -32,7 +32,7 @@
 [% UNLESS no_add_link %]
   <a title="Add a value for the '[% field.description FILTER html %]' field."
      href="editvalues.cgi?action=add&amp;field=
-          [%- field.name FILTER url_quote %]">Add</a> a value.
+          [%- field.name FILTER uri %]">Add</a> a value.
 [% END %]
 
 [% IF value.defined && !no_edit_link %]
   title="Edit value '[% value.name FILTER html %]' for the '
          [%- field.name FILTER html %]' field"
   href="editvalues.cgi?action=edit&amp;field=
-        [%- field.name FILTER url_quote %]&amp;value=
-        [%- value.name FILTER url_quote %]">
+        [%- field.name FILTER uri %]&amp;value=
+        [%- value.name FILTER uri %]">
         '[% value.name FILTER html %]'</a>.
 [% END %]
 
 [% UNLESS no_edit_other_link %]
   Edit other values for the <a 
   href="editvalues.cgi?field=
-        [%- field.name FILTER url_quote %]">'[% field.description FILTER html %]'</a> field.
+        [%- field.name FILTER uri %]">'[% field.description FILTER html %]'</a> field.
 
 [% END %]
 
index 3f750ebcae1839e19bfc154839fdd54f9b3f8e10..2b6aedb6f8a3191252747600e00b1c3955dbb26a 100644 (file)
@@ -35,9 +35,9 @@
 %]
 
 [% edit_contentlink = BLOCK %]editvalues.cgi?action=edit&amp;field=
-  [%- field.name FILTER url_quote %]&amp;value=%%name%%[% END %]
+  [%- field.name FILTER uri %]&amp;value=%%name%%[% END %]
 [% delete_contentlink = BLOCK %]editvalues.cgi?action=del&amp;field=
-  [%- field.name FILTER url_quote %]&amp;value=%%name%%[% END %]
+  [%- field.name FILTER uri %]&amp;value=%%name%%[% END %]
 
 
 [% columns = [
index 9d32da4de693fc02561e17e7f1e7c4b8faef43f7..b93c84b256c1a333e8f393a1e6de02d17c1a455b 100644 (file)
@@ -55,7 +55,7 @@
       users in it.</b>
 
     <br><a href="editusers.cgi?action=list&amp;groupid=
-                 [%- group.id FILTER url_quote %]&amp;grouprestrict=1">Show
+                 [%- group.id FILTER uri %]&amp;grouprestrict=1">Show
     me which users</a> - <label><input type="checkbox" name="removeusers">Remove
     all users from this group for me.</label></p>
   [% END %]
@@ -75,7 +75,7 @@
      [%+ terms.bugs %] are using it.</b>
 
     <br><a href="buglist.cgi?field0-0-0=bug_group&amp;type0-0-0=equals&amp;value0-0-0=
-                 [%- group.name FILTER url_quote %]">Show me
+                 [%- group.name FILTER uri %]">Show me
     which [% terms.bugs %]</a> - 
     <label><input type="checkbox" name="removebugs">Remove
     all [% terms.bugs %] from this group restriction for me.</label></p>
         [% END %]
 
         <li><a href="editproducts.cgi?action=editgroupcontrols&amp;product=
-                    [%- data.product.name FILTER url_quote %]">
+                    [%- data.product.name FILTER uri %]">
           [%- data.product.name FILTER html %]</a>
           ([% active.join(', ') FILTER html %])
           [% IF hidden %]
     You cannot delete this group while there are flag types using it.</b>
 
     <br><a href="editflagtypes.cgi?action=list&amp;group=
-                 [%- group.id FILTER url_quote %]">Show
+                 [%- group.id FILTER uri %]">Show
     me which types</a> - 
     <label><input type="checkbox" name="removeflags">Remove all
     flag types from this group for me.</label></p>
index c4b9a64d7234c2bed5ebca6a5a3d05624e736907..65a62290b61a9371ebafaf09fe4a788016409970 100644 (file)
@@ -53,7 +53,7 @@
       <th align="right">[% terms.Bugs %]:</th>
       <td>
         [% IF keyword.bug_count > 0 %]
-          <a href="buglist.cgi?keywords=[% keyword.name FILTER url_quote %]">
+          <a href="buglist.cgi?keywords=[% keyword.name FILTER uri %]">
             [% keyword.bug_count FILTER html %]</a>
         [% ELSE %]
           none
index ea89b802132f3dcec0cbd74f1baa733c298243aa..068e8e254ce8b45d22dbbe00c0f76007aeede038 100644 (file)
@@ -52,8 +52,8 @@
 [% IF milestone.bug_count %]
   <a title="List of [% terms.bugs %] targetted at milestone '
            [% milestone.name FILTER html %]'"
-     href="buglist.cgi?target_milestone=[% milestone.name FILTER url_quote %]&amp;product=
-          [%- product.name FILTER url_quote %]">
+     href="buglist.cgi?target_milestone=[% milestone.name FILTER uri %]&amp;product=
+          [%- product.name FILTER uri %]">
           [% milestone.bug_count FILTER none %]</a>
 [% ELSE %]
   None
index e91e5f9adb98f8d620c3250edcc0bcd986dd1bbe..1cae69e17812775baba96ce56f4826f039c1ea8b 100644 (file)
@@ -40,7 +40,7 @@
 [% UNLESS no_add_milestone_link %]
   <a title="Add a milestone to product '[% product.name FILTER html %]'"
      href="editmilestones.cgi?action=add&amp;product=
-          [%- product.name FILTER url_quote %]">Add</a> a milestone. 
+          [%- product.name FILTER uri %]">Add</a> a milestone. 
 [% END %]
 
 [% IF milestone.name && !no_edit_milestone_link %]
   title="Edit Milestone '[% milestone.name FILTER html %]' of product '
          [%- product.name FILTER html %]'"
   href="editmilestones.cgi?action=edit&amp;product=
-        [%- product.name FILTER url_quote %]&amp;milestone=
-        [%- milestone.name FILTER url_quote %]">
+        [%- product.name FILTER uri %]&amp;milestone=
+        [%- milestone.name FILTER uri %]">
         '[% milestone.name FILTER html %]'</a>.
 [% END %]
 
 [% UNLESS no_edit_other_milestones_link %]
   Edit other milestones of product <a 
   href="editmilestones.cgi?product=
-        [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>.
+        [%- product.name FILTER uri %]">'[% product.name FILTER html %]'</a>.
 
 [% END %]
 
   Edit product <a 
   href="editproducts.cgi?action=edit&amp;product=
-        [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>.
+        [%- product.name FILTER uri %]">'[% product.name FILTER html %]'</a>.
 
 </p>
index 9422855ac5d92be137fdb28c3d363686c703fcb8..56f621e1efc9b866d192efc8e72f576f6539ee7e 100644 (file)
 %]
 
 [% edit_contentlink = BLOCK %]editmilestones.cgi?action=edit&amp;product=
-  [%- product.name FILTER url_quote %]&amp;milestone=%%name%%[% END %]
+  [%- product.name FILTER uri %]&amp;milestone=%%name%%[% END %]
 [% delete_contentlink = BLOCK %]editmilestones.cgi?action=del&amp;product=
-  [%- product.name FILTER url_quote %]&amp;milestone=%%name%%[% END %]
+  [%- product.name FILTER uri %]&amp;milestone=%%name%%[% END %]
 [% bug_count_contentlink = BLOCK %]buglist.cgi?target_milestone=%%name%%&amp;product=
-  [%- product.name FILTER url_quote %][% END %]
+  [%- product.name FILTER uri %][% END %]
 
 
 [% columns = [
@@ -96,7 +96,7 @@
 
 [% IF ! showbugcounts %]
 
-  <p><a href="editmilestones.cgi?product=[% product.name FILTER url_quote %]&amp;showbugcounts=1">
+  <p><a href="editmilestones.cgi?product=[% product.name FILTER uri %]&amp;showbugcounts=1">
       Redisplay table with [% terms.bug %] counts (slower)</a></p>
 
 [% END %]
index 21fa9fa416b6728134f0daada546ed31ceeec4a7..77d843da29c33664f792807adb30cba26fe5d658 100644 (file)
@@ -78,7 +78,7 @@
               </td>
             [% ELSE %]
               <td>
-                <a href="editparams.cgi?section=[% panel.name FILTER url_quote %]"
+                <a href="editparams.cgi?section=[% panel.name FILTER uri %]"
                    title="[% panel.desc FILTER html %]">[% panel.title FILTER html %]</a>
               </td>
             [% END %]
index 9f80245281367a33eaf081b6ea1e97f150e10d92..de6a56f2e65b8c298311d500aa883e3bef9556b0 100644 (file)
@@ -35,7 +35,7 @@
         <tr>
           <td>
             <a href="editparams.cgi?section=
-              [%- panel.name FILTER url_quote %]#[% param.name FILTER url_quote %]_desc">
+              [%- panel.name FILTER uri %]#[% param.name FILTER uri %]_desc">
               [% param.name FILTER html %]</a>
           </td>    
           <td>
index f4a04b86f5d40703b465e3cb3f68e0558b22a6db..aa728df75fc5128b48967c9a599f995630f0ea19 100644 (file)
@@ -58,7 +58,7 @@
   <tr>
     <td valign="top">Product:</td>
     <td valign="top">
-      <a href="editproducts.cgi?product=[% product.name FILTER url_quote %]">
+      <a href="editproducts.cgi?product=[% product.name FILTER uri %]">
         [% product.name FILTER html %]
       </a>
     </td>
   <tr>
     <td>
       [% IF product.components.size > 0 %]
-        <a href="editcomponents.cgi?product=[% product.name FILTER url_quote %]"
+        <a href="editcomponents.cgi?product=[% product.name FILTER uri %]"
            title="Edit components for product '[% product.name FILTER html %]'">
           Components:
         </a>
   <tr>
     <td>
       [% IF product.versions.size > 0 %]
-        <a href="editversions.cgi?product=[%- product.name FILTER url_quote %]">
+        <a href="editversions.cgi?product=[%- product.name FILTER uri %]">
           Versions:
         </a>
       [% ELSE %]
     <tr>
       <td valign="top">
         [% IF product.milestones.size > 0 %]
-          <a href="editmilestones.cgi?product=[%- product.name FILTER url_quote %]">
+          <a href="editmilestones.cgi?product=[%- product.name FILTER uri %]">
             Milestones:
           </a>
         [% ELSE %]
     <td>[% terms.Bugs %]:</td>
     <td>
       [% IF product.bug_count %]
-        <a href="buglist.cgi?product=[% product.name FILTER url_quote %]"
+        <a href="buglist.cgi?product=[% product.name FILTER uri %]"
            title="List of [% terms.bugs %] for product '[% product.name FILTER html %]'">
           [% product.bug_count FILTER html %]
         </a>
index 976739f78491c1db5fbbc0c2ac3aa5f82e03a9a7..bb55f4eb095509553eeabab4b4597585187fd83f 100644 (file)
@@ -45,7 +45,7 @@
 
     <tr>
       <th align="right" valign="top">
-        <a href="editcomponents.cgi?product=[% product.name FILTER url_quote %]">
+        <a href="editcomponents.cgi?product=[% product.name FILTER uri %]">
         Edit components:
         </a>
       </th>
@@ -67,7 +67,7 @@
     </tr>
     <tr>
       <th align="right" valign="top">
-        <a href="editversions.cgi?product=[% product.name FILTER url_quote %]">Edit
+        <a href="editversions.cgi?product=[% product.name FILTER uri %]">Edit
 versions:</a>
       </th>
       <td>
@@ -84,7 +84,7 @@ versions:</a>
     [% IF Param('usetargetmilestone') %]
       <tr>
         <th align="right" valign="top">
-          <a href="editmilestones.cgi?product=[% product.name FILTER url_quote %]">
+          <a href="editmilestones.cgi?product=[% product.name FILTER uri %]">
           Edit milestones:</a>
         </th>
         <td>
@@ -102,7 +102,7 @@ versions:</a>
     <tr>
       <th align="right" valign="top">
         <a href="editproducts.cgi?action=editgroupcontrols&product=
-          [%- product.name FILTER url_quote %]">
+          [%- product.name FILTER uri %]">
           Edit Group Access Controls:
         </a>
       </th>
@@ -130,7 +130,7 @@ versions:</a>
     </tr>
     <tr>
       <th align="right">[% terms.Bugs %]:</th>
-      <td><a href="buglist.cgi?product=[% product.name FILTER url_quote %]">
+      <td><a href="buglist.cgi?product=[% product.name FILTER uri %]">
             [% product.bug_count FILTER html %]</a></td>
     </tr>
   </table>
index 661829b7c96f7d82cdb1facfe66f3f556057ec43..78e1864a7acafb96692f75b17a1d9ab0734d5eb8 100644 (file)
 
 [% IF Param('useclassification') && classification %]
   [% classification_url_part = BLOCK %]&amp;classification=
-     [%- classification.name FILTER url_quote %]
+     [%- classification.name FILTER uri %]
   [% END %]
   [% classification_url_part_start = BLOCK %]classification=
-     [%- classification.name FILTER url_quote %]
+     [%- classification.name FILTER uri %]
   [% END %]
   [% classification_text = BLOCK %] 
     of classification '[% classification.name FILTER html %]'
@@ -61,7 +61,7 @@
   Edit product <a 
   title="Edit Product '[% product.name FILTER html %]' 
          [%- classification_text %]"
-  href="editproducts.cgi?action=edit&amp;product=[% product.name FILTER url_quote %]">
+  href="editproducts.cgi?action=edit&amp;product=[% product.name FILTER uri %]">
         '[% product.name FILTER html %]'</a>.
 [% END %]
 
index 13f12780a7ab9b638924b400e6dc5a6b79d3e1ea..a9951dd743e405b51ed18d6ece87f4d3fb4e0f56 100644 (file)
@@ -26,7 +26,7 @@
 
 [% IF classification %]
   [% classification_url_part = BLOCK %]&amp;classification=
-    [%- classification.name FILTER url_quote %]
+    [%- classification.name FILTER uri %]
   [%- END %]
   [% classification_title = BLOCK %] 
     in classification '[% classification.name FILTER html %]'
index 4140bab62820ef856c0d96f71f3408e1ada82e8e..d93022a6eeb41c96b7c7a8f251631eea39f94e54 100644 (file)
@@ -45,7 +45,7 @@
   <p>
   Updated product name from '[% changes.name.0 FILTER html %]' to
   '<a href="editproducts.cgi?action=edit&amp;product=
-  [%- product.name FILTER url_quote %]">[% product.name FILTER html %]</a>'.
+  [%- product.name FILTER uri %]">[% product.name FILTER html %]</a>'.
   </p>
 [% END %]
 
@@ -86,7 +86,7 @@
     [%+ display_value('bug_status', 'UNCONFIRMED') FILTER html %] status.
     Note that any 
     <a href="buglist.cgi?product=
-            [%- product.name FILTER url_quote %]&amp;bug_status=UNCONFIRMED"> 
+            [%- product.name FILTER uri %]&amp;bug_status=UNCONFIRMED"> 
     [%- terms.bugs %] that currently have the 
     [%+ display_value('bug_status', 'UNCONFIRMED') FILTER html %] status</a>
     will remain in that status until they are edited.
index 5c2b2feb1b6b3d9cb173fea194eac45ef58dabe0..af0f9e572146e9a8a1bc50c863848212364c1ce9 100644 (file)
@@ -34,7 +34,7 @@
     [% errortext FILTER html %]: [% INCLUDE bug_list badbugs = badbugs %]
 
   [% ELSIF san_tag == "bug_check_repair" %]
-    <a href="sanitycheck.cgi?[% param FILTER url_quote %]=1">[% text FILTER html %]</a>.
+    <a href="sanitycheck.cgi?[% param FILTER uri %]=1">[% text FILTER html %]</a>.
 
   [% ELSIF san_tag == "bug_check_creation_date" %]
     Checking for [% terms.bugs %] with no creation date (which makes them invisible).
      # which itself calls this template again, generating a recursion error.
      # I doubt having a tooltip with the bug status and summary is so
      # important here anyway, as you can click the "(as buglist)" link. %]
-    <a href="show_bug.cgi?id=[% bug_id FILTER url_quote %]">[% bug_id FILTER html %]</a>
+    <a href="show_bug.cgi?id=[% bug_id FILTER uri %]">[% bug_id FILTER html %]</a>
     [% ", " IF !loop.last %]
   [% END %]
-  (<a href="buglist.cgi?bug_id=[% badbugs.join(",") FILTER url_quote %]">as [% terms.bug %] list</a>).
+  (<a href="buglist.cgi?bug_id=[% badbugs.join(",") FILTER uri %]">as [% terms.bug %] list</a>).
 [% END %]
 
 [% BLOCK bug_link %]
-  <a href="show_bug.cgi?id=[% bug_id FILTER url_quote %]">[% terms.bug %] [%+ bug_id FILTER html %]</a>
+  <a href="show_bug.cgi?id=[% bug_id FILTER uri %]">[% terms.bug %] [%+ bug_id FILTER html %]</a>
 [% END %]
index ce5e985cb3ec22f72158e7e49547c97a0ac500e5..706e7d75a23a7e0fed195cac95b7926f071e9d2b 100644 (file)
           [% WHILE link_uri.search('%%(.+?)%%')%]
             [% FOREACH m = link_uri.match('%%(.+?)%%') %]
               [% IF row.$m %]
-                [% replacement_value = FILTER url_quote; row.$m; END %]
+                [% replacement_value = FILTER uri; row.$m; END %]
               [% ELSE %]
                 [% replacement_value = "" %]
               [% END %]
index 4711376b0dd63d6ab2056e7135a0b43a5af763e1..1e7077eaf18e3b32027bafcf52e61777c8023858 100644 (file)
           <li>
             [% otheruser.login FILTER html %]
             <a href="buglist.cgi?field0-0-0=attachments.submitter&type0-0-0=equals&value0-0-0=
-               [%- otheruser.login FILTER url_quote %]">has submitted
+               [%- otheruser.login FILTER uri %]">has submitted
             [% IF attachments == 1 %]
               one attachment
             [% ELSE %]
           <li>
             [% otheruser.login FILTER html %]
             <a href="buglist.cgi?emailreporter1=1&amp;emailtype1=exact&amp;email1=
-               [%- otheruser.login FILTER url_quote %]">has reported
+               [%- otheruser.login FILTER uri %]">has reported
             [% IF reporter == 1 %]
               one [% terms.bug %]
             [% ELSE %]
           <li>
             [% otheruser.login FILTER html %] has
             <a href="buglist.cgi?field0-0-0=setters.login_name&amp;type0-0-0=equals&amp;value0-0-0=
-               [%- otheruser.login FILTER url_quote %]">set
+               [%- otheruser.login FILTER uri %]">set
             or requested
             [% IF flags.setter == 1 %]
               a flag
           <li>
             [% otheruser.login FILTER html %] has
             <a href="buglist.cgi?emaillongdesc1=1&amp;emailtype1=exact&amp;email1=
-               [%- otheruser.login FILTER url_quote %]">commented
+               [%- otheruser.login FILTER uri %]">commented
             [% IF longdescs == 1 %]
               once on [% terms.abug %]
             [% ELSE %]
           <li>
             [% otheruser.login FILTER html %]
             <a href="buglist.cgi?emailassigned_to1=1&amp;emailqa_contact1=1&amp;emailtype1=exact&amp;email1=
-               [%- otheruser.login FILTER url_quote %]">is
+               [%- otheruser.login FILTER uri %]">is
             the assignee or the QA contact of
             [% IF assignee_or_qa == 1 %]
               one [% terms.bug %]
           <li>
             [% otheruser.login FILTER html %]
             <a href="buglist.cgi?emailcc1=1&amp;emailtype1=exact&amp;email1=
-               [%- otheruser.login FILTER url_quote %]">is
+               [%- otheruser.login FILTER uri %]">is
             on the CC list of
             [% IF cc == 1 %]
               [%+ terms.abug %]
           <li>
             [% otheruser.login FILTER html %] has been
             <a href="buglist.cgi?field0-0-0=requestees.login_name&amp;type0-0-0=equals&amp;value0-0-0=
-               [%- otheruser.login FILTER url_quote %]">asked
+               [%- otheruser.login FILTER uri %]">asked
             to set
             [% IF flags.requestee == 1 %]
               a flag
index a6eae57910fe1e55148dfdd5458731155a3254cf..a2be91d7a1360932bf8c7d23ed84980de3a0828a 100644 (file)
@@ -20,8 +20,8 @@
 
 [% BLOCK listselectionurlparams %]
   [% FOREACH field = listselectionvalues.keys %]&amp;
-    [% field FILTER url_quote %]=
-    [% listselectionvalues.$field FILTER url_quote %]
+    [% field FILTER uri %]=
+    [% listselectionvalues.$field FILTER uri %]
   [% END %]
 [% END %]
 
index 5c9c3f317ca4263a32933d696600f7f47f5be6a9..1e11f800079129188d3ee6e9d3cde30c7ad88bea 100644 (file)
@@ -36,8 +36,8 @@
         <td>
           [% IF user.in_group("editcomponents", component.product_id) %]
             <a href="editcomponents.cgi?action=edit&amp;product=
-                     [% item.product.name FILTER url_quote %]&amp;component=
-                     [% component.name FILTER url_quote %]">
+                     [% item.product.name FILTER uri %]&amp;component=
+                     [% component.name FILTER uri %]">
           [% END %]
           [% component.name FILTER html %]
           [% IF user.in_group("editcomponents", component.product_id) %]
index f23aa1b85c171a29fcd0fe9e2e2b67f5db4988b1..d81529b48dc77734c92b778e3a275c8bf18d252b 100644 (file)
@@ -30,7 +30,7 @@
         [% IF !otheruser.in_group('bz_sudo_protect') %]
           <br />
           <a href="relogin.cgi?action=prepare-sudo&amp;target_login=
-          [%- otheruser.login FILTER url_quote %]">Impersonate this user</a>
+          [%- otheruser.login FILTER uri %]">Impersonate this user</a>
         [% END %]
       [% END %]
     [% ELSE %]
index 88ffceb313820aa01856d7ba638256c9d4cb713e..39091d5fce3b9c8d98f271cb6f185f0e02159b06 100644 (file)
@@ -52,8 +52,8 @@
 [% IF version.bug_count %]
   <a title="List of [% terms.bugs %] targetted at version '
            [%- version.name FILTER html %]'"
-     href="buglist.cgi?version=[% version.name FILTER url_quote %]&amp;product=
-          [%- product.name FILTER url_quote %]">
+     href="buglist.cgi?version=[% version.name FILTER uri %]&amp;product=
+          [%- product.name FILTER uri %]">
           [%- version.bug_count FILTER none %]</a>
 [% ELSE %]
   None
index 8d96a12e9ece80ff36ff0d114232cb82f50bf773..ae26e5744bdef2d62cec4f0172bc6a7c0127b63f 100644 (file)
@@ -38,7 +38,7 @@
 [% UNLESS no_add_version_link %]
   <a title="Add a version to product '[% product.name FILTER html %]'"
      href="editversions.cgi?action=add&amp;product=
-          [%- product.name FILTER url_quote %]">Add</a> a version. 
+          [%- product.name FILTER uri %]">Add</a> a version. 
 [% END %]
 
 [% IF version.name && !no_edit_version_link %]
   title="Edit Version '[% version.name FILTER html %]' of product '
          [%- product.name FILTER html %]'"
   href="editversions.cgi?action=edit&amp;product=
-        [%- product.name FILTER url_quote %]&amp;version=
-        [%- version.name FILTER url_quote %]">
+        [%- product.name FILTER uri %]&amp;version=
+        [%- version.name FILTER uri %]">
         '[% version.name FILTER html %]'</a>.
 [% END %]
 
 [% UNLESS no_edit_other_versions_link %]
   Edit other versions of product <a 
   href="editversions.cgi?product=
-        [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>.
+        [%- product.name FILTER uri %]">'[% product.name FILTER html %]'</a>.
 
 [% END %]
 
   Edit product <a 
   href="editproducts.cgi?action=edit&amp;product=
-        [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>.
+        [%- product.name FILTER uri %]">'[% product.name FILTER html %]'</a>.
 
 </p>
index 401ee519b3fa0641f7935880ba2abbe8a53e2a30..ae21bbf5c8294d23c0f7ac1bb842034a9bc20870 100644 (file)
 %]
 
 [% edit_contentlink = BLOCK %]editversions.cgi?action=edit&amp;product=
-  [%- product.name FILTER url_quote %]&amp;version=%%name%%[% END %]
+  [%- product.name FILTER uri %]&amp;version=%%name%%[% END %]
 [% delete_contentlink = BLOCK %]editversions.cgi?action=del&amp;product=
-  [%- product.name FILTER url_quote %]&amp;version=%%name%%[% END %]
+  [%- product.name FILTER uri %]&amp;version=%%name%%[% END %]
 [% bug_count_contentlink = BLOCK %]buglist.cgi?version=%%name%%&amp;product=
-  [%- product.name FILTER url_quote %][% END %]
+  [%- product.name FILTER uri %][% END %]
 
 
 [% columns = [
@@ -77,7 +77,7 @@
 
 [% IF ! showbugcounts %]
 
-  <p><a href="editversions.cgi?product=[% product.name FILTER url_quote %]&amp;showbugcounts=1">
+  <p><a href="editversions.cgi?product=[% product.name FILTER uri %]&amp;showbugcounts=1">
       Redisplay table with [% terms.bug %] counts (slower)</a></p>
 
 [% END %]
index f838955bca4563c86f4cd8b4c97090a5eabbbb0b..643a24ad884c6453c83913c9f89d23e0a2a31a27 100644 (file)
     <td bgcolor="#ff0000">
       <font size="+2">
         You already used the form to file
-        <a href="[% urlbase FILTER html %]attachment.cgi?id=[% attachid FILTER url_quote %]&action=edit">attachment [% attachid FILTER url_quote %]</a>.
+        <a href="[% urlbase FILTER html %]attachment.cgi?id=[% attachid FILTER uri %]&action=edit">attachment [% attachid FILTER uri %]</a>.
       </font>
     </td>
   </tr>
 </table>
 
 <p>
-  You can either <a href="[% urlbase FILTER html %]attachment.cgi?bugid=[% bugid FILTER url_quote %]&action=enter">
+  You can either <a href="[% urlbase FILTER html %]attachment.cgi?bugid=[% bugid FILTER uri %]&action=enter">
   create a new attachment</a> or [% "go back to $terms.bug $bugid" FILTER bug_link(bugid) FILTER none %].
 <p>
 
index 30b8e98e9d56980d4a1b8f1f0f6cac7da009eec7..650d90f73a2f0bd18296fcda5f874606df1a8521 100644 (file)
@@ -69,7 +69,7 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %]
   [% IF headers %]
     <a href="[% PROCESS viewurl id=attachid %]">View</a>
     | <a href="[% PROCESS editurl id=attachid %]">Details</a>
-    | <a href="[% PROCESS diffurl id=attachid %]&amp;context=[% context FILTER url_quote %]&amp;collapsed=[% collapsed FILTER url_quote %]&amp;headers=[% headers FILTER url_quote %]&amp;format=raw">Raw&nbsp;Unified</a>
+    | <a href="[% PROCESS diffurl id=attachid %]&amp;context=[% context FILTER uri %]&amp;collapsed=[% collapsed FILTER uri %]&amp;headers=[% headers FILTER uri %]&amp;format=raw">Raw&nbsp;Unified</a>
     | Return to [% "$terms.bug $bugid" FILTER bug_link(bugid) FILTER none %]
   [% END %]
   [% IF other_patches.size > 0 %]
@@ -115,12 +115,12 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %]
   [% IF context == "patch" %]
     (<strong>Patch</strong> / 
   [% ELSE %]
-    (<a href="[% PROCESS diffurl id=attachid %]&amp;headers=[% headers FILTER url_quote %]">Patch</a> / 
+    (<a href="[% PROCESS diffurl id=attachid %]&amp;headers=[% headers FILTER uri %]">Patch</a> / 
   [% END %]
   [% IF context == "file" %]
     <strong>File</strong> /
   [% ELSE %]
-    <a href="[% PROCESS diffurl id=attachid %]&amp;headers=[% headers FILTER url_quote %]&amp;context=file">File</a> / 
+    <a href="[% PROCESS diffurl id=attachid %]&amp;headers=[% headers FILTER uri %]&amp;context=file">File</a> / 
   [% END %]
 
   [% IF context == "patch" || context == "file" %]
index 86bdb86214fb489bc1a41c7a7f460e13961eabc2..93cd18a779d6b34a64147025bc1f71cdca48f536 100644 (file)
@@ -82,7 +82,7 @@ function PutDescription() {
 [% ELSIF product.name == "Thunderbird" %]
   [% productstring = "product=Mozilla%20Application%20Suite&amp;product=Thunderbird" %]
 [% ELSE %]
-  [% productstring = BLOCK %]product=[% product.name FILTER url_quote %][% END %]
+  [% productstring = BLOCK %]product=[% product.name FILTER uri %][% END %]
 [% END %]
 
 <p>
@@ -205,7 +205,7 @@ function PutDescription() {
         To pick the right component, you could use the same one as
         similar [% terms.bugs %] you found in your search, or read the full list of
         <a target="_blank" href="describecomponents.cgi?product=
-            [% product.name FILTER url_quote %]">component
+            [% product.name FILTER uri %]">component
         descriptions</a> (opens in new window) if you need more help.
       </p>
     </td>
index 425d82343500e125b91caa13987c09f1d4982a1d..f79249946e3652024adb1c954d15486d225e84e0 100644 (file)
@@ -221,7 +221,7 @@ TUI_hide_default('attachment_text_field');
   [%# We can't use the select block in these two cases for various reasons. %]
   <tr>
     [% component_desc_url = BLOCK -%]
-      describecomponents.cgi?product=[% product.name FILTER url_quote %]
+      describecomponents.cgi?product=[% product.name FILTER uri %]
     [% END %]
     [% INCLUDE "bug/field-label.html.tmpl"
       field = bug_fields.component editable = 1
index 627c89d6002ea365461ba2b701de93aa4bfb4203..6ae183f1fbaff297db6db8b39374a1be5f5640cc 100644 (file)
       <span class="summ_text">[%+ bug.short_desc FILTER html %]</span>
       <span class="summ_info">[[% INCLUDE buginfo %]]</span>
     </a>
-    <a href="showdependencytree.cgi?id=[% bugid FILTER url_quote %]"
+    <a href="showdependencytree.cgi?id=[% bugid FILTER uri %]"
        class="tree_link">
       <img src="skins/standard/dependency-tree/tree.png"
            title="See dependency tree for [% terms.bug %] [%+ bugid FILTER html %]">
index 0b794f82a0b13a8458ef3c25b17fb5f9a40cc60a..a47855e14d58d82f70f8135a075525dea8c52001 100644 (file)
@@ -45,7 +45,7 @@
     [% IF desc_url %]
       href="[% desc_url FILTER html %]"
     [% ELSE %]
-      href="page.cgi?id=fields.html#[% field.name FILTER url_quote %]"
+      href="page.cgi?id=fields.html#[% field.name FILTER uri %]"
     [% END %]
   >[%- field_descs.${field.name} FILTER html %]:</a>
 
index 19af18ade81a4225f99041e9b5274ceaace7f6c2..46b92aec4514543ed0ab2435d223700c88c21572 100644 (file)
 [% IF bottom_navigator == 1 %]
   <ul class="related_actions">
     <li><a href="show_bug.cgi?format=multiple&amp;id=
-                [% bug.bug_id FILTER url_quote %]">Format For Printing</a></li>
+                [% bug.bug_id FILTER uri %]">Format For Printing</a></li>
     <li>&nbsp;-&nbsp;<a href="show_bug.cgi?ctype=xml&amp;id=
-                        [% bug.bug_id  FILTER url_quote %]">XML</a></li>
+                        [% bug.bug_id  FILTER uri %]">XML</a></li>
     <li>&nbsp;-&nbsp;<a href="enter_bug.cgi?cloned_bug_id=
-                        [% bug.bug_id  FILTER url_quote %]">Clone This 
+                        [% bug.bug_id  FILTER uri %]">Clone This 
                         [% terms.Bug %]</a></li>
     [%# Links to more things users can do with this bug. %]
     [% Hook.process("links") %]
   ([% this_bug_idx + 1 %] of [% last_bug_list.size %])
 
   <a href="show_bug.cgi?id=
-           [%- last_bug_list.first FILTER url_quote %]&amp;list_id=
-           [%- my_search.id FILTER url_quote %]">First</a>
+           [%- last_bug_list.first FILTER uri %]&amp;list_id=
+           [%- my_search.id FILTER uri %]">First</a>
   <a href="show_bug.cgi?id=
-           [%- last_bug_list.last FILTER url_quote %]&amp;list_id=
-           [%- my_search.id FILTER url_quote %]">Last</a>
+           [%- last_bug_list.last FILTER uri %]&amp;list_id=
+           [%- my_search.id FILTER uri %]">Last</a>
 
   [% IF this_bug_idx > 0 %]
     [% prev_bug = this_bug_idx - 1 %]
     <a href="show_bug.cgi?id=
-             [%- last_bug_list.$prev_bug FILTER url_quote %]&amp;list_id=
-             [%- my_search.id FILTER url_quote %]">Prev</a>
+             [%- last_bug_list.$prev_bug FILTER uri %]&amp;list_id=
+             [%- my_search.id FILTER uri %]">Prev</a>
   [% ELSE %]
     <i><font color="#777777">Prev</font></i>
   [% END %]
   [% IF this_bug_idx + 1 < last_bug_list.size %]
     [% next_bug = this_bug_idx + 1 %]
     <a href="show_bug.cgi?id=
-             [%- last_bug_list.$next_bug FILTER url_quote %]&amp;list_id=
-             [%- my_search.id FILTER url_quote %]">Next</a>
+             [%- last_bug_list.$next_bug FILTER uri %]&amp;list_id=
+             [%- my_search.id FILTER uri %]">Next</a>
   [% ELSE %]
     <i><font color="#777777">Next</font></i>
   [% END %]
 
   &nbsp;&nbsp;<a href="buglist.cgi?regetlastlist=
-              [%- my_search.id FILTER url_quote %]">Show last search results</a>
+              [%- my_search.id FILTER uri %]">Show last search results</a>
 [% ELSE %]
   [%# With no list, don't show link to search results %]
   <i><font color="#777777">First</font></i>
index 0949ffc2069490bbd307cd6c42da73d583372a34..56f73266781a122b0126daf7dd63bd70d1f172bf 100644 (file)
@@ -66,7 +66,7 @@
     [% terms.Bug %] 
     <a href="show_bug.cgi?id=[% bug.bug_id FILTER html %]">[% bug.bug_id FILTER html %]</a>
     [% IF Param("usebugaliases") AND bug.alias AND NOT bug.error %]
-      (<a href="show_bug.cgi?id=[% bug.alias FILTER url_quote %]">
+      (<a href="show_bug.cgi?id=[% bug.alias FILTER uri %]">
         [% bug.alias FILTER html %]</a>)
     [% END %]
   </h1>
index ec80f7601063f1b78a1ea0d0999e372dbb7cbede..0e74bfc44df0b70290033b788abeee94f8831733 100644 (file)
     <Seq>
       [% FOREACH product = products %]
         <li>
-          <bz:product rdf:about="[% urlbase FILTER xml %]product.cgi?name=[% product.name FILTER url_quote %]">
+          <bz:product rdf:about="[% urlbase FILTER xml %]product.cgi?name=[% product.name FILTER uri %]">
             <bz:name>[% product.name FILTER html %]</bz:name>
 
             <bz:components>
               <Seq>
                 [% FOREACH component = product.components %]
-                  <li resource="[% urlbase FILTER xml %]component.cgi?name=[% component.name FILTER url_quote 
-                      %]&amp;product=[% product.name FILTER url_quote %]"/>
+                  <li resource="[% urlbase FILTER xml %]component.cgi?name=[% component.name FILTER uri 
+                      %]&amp;product=[% product.name FILTER uri %]"/>
                 [% END %]
               </Seq>
             </bz:components>
             <bz:versions>
               <Seq>
                 [% FOREACH version = product.versions %]
-                  <li resource="[% urlbase FILTER xml %]version.cgi?name=[% version.name FILTER url_quote %]"/>
+                  <li resource="[% urlbase FILTER xml %]version.cgi?name=[% version.name FILTER uri %]"/>
                 [% END %]
               </Seq>
             </bz:versions>
               <bz:target_milestones>
                 <Seq>
                   [% FOREACH milestone = product.milestones %]
-                    <li resource="[% urlbase FILTER xml %]milestone.cgi?name=[% milestone.name FILTER url_quote %]"/>
+                    <li resource="[% urlbase FILTER xml %]milestone.cgi?name=[% milestone.name FILTER uri %]"/>
                   [% END %]
                 </Seq>
               </bz:target_milestones>
       [% FOREACH product = products %]
         [% FOREACH component = product.components %]
           <li>
-            <bz:component rdf:about="[% urlbase FILTER xml %]component.cgi?name=[% component.name FILTER url_quote 
-                          %]&amp;product=[% product.name FILTER url_quote %]">
+            <bz:component rdf:about="[% urlbase FILTER xml %]component.cgi?name=[% component.name FILTER uri 
+                          %]&amp;product=[% product.name FILTER uri %]">
               <bz:name>[% component.name FILTER html %]</bz:name>
               [% IF show_flags %]
                 <bz:flag_types>
                     [% FOREACH flag_type = flag_types %]
                       [% NEXT UNLESS flag_type.is_active %]
                       [% all_visible_flag_types.${flag_type.id} = flag_type %]
-                      <li resource="[% urlbase FILTER xml %]flag.cgi?id=[% flag_type.id FILTER url_quote
-                          %]&amp;name=[% flag_type.name FILTER url_quote %]" />
+                      <li resource="[% urlbase FILTER xml %]flag.cgi?id=[% flag_type.id FILTER uri
+                          %]&amp;name=[% flag_type.name FILTER uri %]" />
                     [% END %]
                   </Seq>
                 </bz:flag_types>
       [% FOREACH product = products %]
         [% FOREACH version = product.versions %]
           <li>
-            <bz:version rdf:about="[% urlbase FILTER xml %]version.cgi?name=[% version.name FILTER url_quote %]">
+            <bz:version rdf:about="[% urlbase FILTER xml %]version.cgi?name=[% version.name FILTER uri %]">
               <bz:name>[% version.name FILTER html %]</bz:name>
             </bz:version>
           </li>
         [% FOREACH product = products %]
           [% FOREACH milestone = product.milestones %]
             <li>
-              <bz:target_milestone rdf:about="[% urlbase FILTER xml %]milestone.cgi?name=[% milestone.name FILTER url_quote %]">
+              <bz:target_milestone rdf:about="[% urlbase FILTER xml %]milestone.cgi?name=[% milestone.name FILTER uri %]">
                 <bz:name>[% milestone.name FILTER html %]</bz:name>
               </bz:target_milestone>
             </li>
       <Seq>
         [% FOREACH flag_type = all_visible_flag_types.values.sort('name') %]
           <li>
-            <bz:flag_type rdf:about="[% urlbase FILTER xml %]flag.cgi?id=[% flag_type.id FILTER url_quote
-                          %]&amp;name=[% flag_type.name FILTER url_quote %]">
+            <bz:flag_type rdf:about="[% urlbase FILTER xml %]flag.cgi?id=[% flag_type.id FILTER uri
+                          %]&amp;name=[% flag_type.name FILTER uri %]">
               <bz:id>[% flag_type.id FILTER html %]</bz:id>
               <bz:name>[% flag_type.name FILTER html %]</bz:name>
               <bz:description>[% flag_type.description FILTER html %]</bz:description>
       [% PROCESS "global/field-descs.none.tmpl" %]
       [% FOREACH item = field %]
         <li>
-          <bz:field rdf:about="[% urlbase FILTER xml %]field.cgi?name=[% item.name FILTER url_quote %]">
+          <bz:field rdf:about="[% urlbase FILTER xml %]field.cgi?name=[% item.name FILTER uri %]">
             <bz:name>[% item.name FILTER html %]</bz:name>
             <bz:description>[% (field_descs.${item.name} OR item.description) FILTER html %]</bz:description>
             [%-# These values are meaningful for custom fields only. %]
index 9342d814aca26022dcd79d91a99e00a1f6b72c75..fbac48479231dacc3930f371e6ba877c52370504 100644 (file)
@@ -31,9 +31,9 @@
 <table>
   <tr>
     <th align="right">
-      <a href="[% target FILTER url_quote %]?classification=__all
-            [% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END -%] 
-            [%- IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
+      <a href="[% target FILTER uri %]?classification=__all
+            [% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER uri %][% END -%] 
+            [%- IF format %]&amp;format=[% format FILTER uri %][% END %]">
       All</a>:
     </th>
 
@@ -46,9 +46,9 @@
 [% FOREACH class = classifications %]
   <tr>
     <th align="right">
-      <a href="[% target FILTER url_quote %]?classification=[% class.name FILTER url_quote -%]
-            [%- IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END -%] 
-            [%- IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
+      <a href="[% target FILTER uri %]?classification=[% class.name FILTER uri -%]
+            [%- IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER uri %][% END -%] 
+            [%- IF format %]&amp;format=[% format FILTER uri %][% END %]">
       [% class.name FILTER html %]</a>:
     </th>
 
index 5c9ad0916b9193bfe9284ea83659cefd92833883..ae00bf503e2d9f6be5cd42a12e9efdd03c133ab7 100644 (file)
@@ -55,9 +55,9 @@
   [% FOREACH p = c.products %]
     <tr>
       <th align="right" valign="top">
-        <a href="[% target %]?product=[% p.name FILTER url_quote -%]
-              [%- IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END -%] 
-              [%- IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
+        <a href="[% target %]?product=[% p.name FILTER uri -%]
+              [%- IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER uri %][% END -%] 
+              [%- IF format %]&amp;format=[% format FILTER uri %][% END %]">
         [% p.name FILTER html FILTER no_break %]</a>:&nbsp;
       </th>
 
index fe665df67f8c5a3fc09b13b2e71f8852487971df..b0bb36315234ea64b9f33b7bd4daa281ee677a03 100644 (file)
@@ -47,8 +47,8 @@
     [% IF Param('shutdownhtml') || Bugzilla.has_flags %]
       <span class="separator">| </span>
       [% IF user.id %]
-        <a href="request.cgi?requester=[% user.login FILTER url_quote %]&amp;requestee=
-                 [% user.login FILTER url_quote %]&amp;do_union=1&amp;group=type&amp;action=queue">My Requests</a>
+        <a href="request.cgi?requester=[% user.login FILTER uri %]&amp;requestee=
+                 [% user.login FILTER uri %]&amp;do_union=1&amp;group=type&amp;action=queue">My Requests</a>
       [% ELSE %]
         <a href="request.cgi">Requests</a>
       [% END %]
index fa0adbdf72b41fab6d99c9b87ef14808049a3578..e464e4b08b3f9903bdfb71e90ea6a306cf74c192 100644 (file)
   [% ELSIF message_tag == "buglist_updated_named_query" %]
     [% title = "Search updated" %]
     Your search named <code><a 
-     href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% queryname FILTER url_quote %]"
+     href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% queryname FILTER uri %]"
     >[% queryname FILTER html %]</a></code> has been updated.
 
   [% ELSIF message_tag == "buglist_new_default_query" %]
   [% ELSIF message_tag == "buglist_new_named_query" %]
     [% title = "Search created" %]
     OK, you have a new search named <code><a
-     href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% queryname FILTER url_quote %]"
+     href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% queryname FILTER uri %]"
     >[% queryname FILTER html %]</a></code>.
 
   [% ELSIF message_tag == "buglist_query_gone" %]
   [% ELSIF message_tag == "product_created" %]
     [% title = "Product Created" %]
     The product <em>[% product.name FILTER html %]</em> has been created. You will need to
-    <a href="editcomponents.cgi?action=add&product=[% product.name FILTER url_quote %]">
+    <a href="editcomponents.cgi?action=add&product=[% product.name FILTER uri %]">
     add at least one component</a> before anyone can enter [% terms.bugs %] against this product.
 
   [% ELSIF message_tag == "product_deleted" %]
index 60a8ddf96b499d11e2f39594b6ea3eb8b839e7b4..06b0eaa921f61bb071b65fce7b5a96fcee98c7e0 100644 (file)
@@ -55,7 +55,7 @@
 
   [%# *** Saved Searches *** %]
   [% IF user.showmybugslink %]
-    [% user_login = user.login FILTER url_quote %]
+    [% user_login = user.login FILTER uri %]
     <link rel="Saved&nbsp;Searches" title="My [% terms.Bugs %]"
           href="[% Param('mybugstemplate').replace('%userid%', user_login) %]">
   [% END %]
@@ -64,8 +64,8 @@
     <link rel="Saved&nbsp;Search"
           title="[% q.name FILTER html %] ([% q.user.login FILTER html %])"
           href="buglist.cgi?cmdtype=dorem&amp;remaction=run&amp;namedcmd=
-                 [% q.name FILTER url_quote %]&amp;sharer_id=
-                 [% q.user.id FILTER url_quote %]">
+                 [% q.name FILTER uri %]&amp;sharer_id=
+                 [% q.user.id FILTER uri %]">
   [% END %]
 
   [%# *** Bugzilla Administration Tools *** %]
index 1f12249802e1345ba4108d162bd06bbfea2ad1dd..dd4fed424fdf1f2c6521ae2e14f25eb47eedc302 100644 (file)
@@ -39,7 +39,7 @@
     <li id="links-saved">
       <ul class="links">
         [% IF user.showmybugslink %]
-          [% filtered_username = user.login FILTER url_quote %]
+          [% filtered_username = user.login FILTER uri %]
           <li><a href="[% Param('mybugstemplate').replace('%userid%', filtered_username) %]">My [% terms.Bugs %]</a></li>
           [% print_pipe = 1 %]
         [% END %]
@@ -47,7 +47,7 @@
         [% FOREACH q = user.queries %]
           [% IF q.link_in_footer %]
             <li>[% '<span class="separator">| </span>' IF print_pipe %]
-            <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% q.name FILTER url_quote %]">[% q.name FILTER html %]</a></li>
+            <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% q.name FILTER uri %]">[% q.name FILTER html %]</a></li>
             [% print_pipe = 1 %]
           [% END %]
         [% END %]
@@ -61,8 +61,8 @@
           <li>
             [% '<span class="separator">| </span>' IF print_pipe %]
             <a href="buglist.cgi?cmdtype=dorem&amp;remaction=run&amp;namedcmd=
-                     [% q.name FILTER url_quote %]&amp;sharer_id=
-                     [% q.user.id FILTER url_quote %]"
+                     [% q.name FILTER uri %]&amp;sharer_id=
+                     [% q.user.id FILTER uri %]"
                class="shared"
                title="Shared by [% q.user.identity FILTER html %]"
                >[% q.name FILTER html FILTER no_break %]</a></li>
index 8380f7f0c6628a774bcc5b0f3b2b519ea5f99396..7642a0c23a6406ec422dc716c6f82d3b5d8a437a 100644 (file)
     You are not authorized to access [% terms.bug %] #[% bug_id FILTER html %].
     To see this [% terms.bug %], you must
     first <a href="show_bug.cgi?id=
-                   [% bug_id FILTER url_quote %]&amp;GoAheadAndLogIn=1">log
+                   [% bug_id FILTER uri %]&amp;GoAheadAndLogIn=1">log
     in to an account</a> with the appropriate permissions.
 
   [% ELSIF error == "bug_url_invalid" %]
     or disabled.
     [% IF user.in_group('tweakparams') %]
       You have to <a href="editparams.cgi?section=bugfields#
-      [%- param_name FILTER url_quote %]">change</a> the default value first.
+      [%- param_name FILTER uri %]">change</a> the default value first.
     [% END %]
 
   [% ELSIF error == "fieldvalue_name_too_long" %]
     The <em>[% group.name FILTER html %]</em> group cannot be deleted because
     there are
     <a href="editgroups.cgi?action=del&amp;group=
-             [%- group.id FILTER url_quote %]">records</a>
+             [%- group.id FILTER uri %]">records</a>
     in the database which refer to it. All references to this group must
     be removed before you can remove it.
 
     has to have at least one component in order for you to
     enter [% terms.abug %] into it.<br>
     [% IF user.in_group("editcomponents", product.id) %]
-      <a href="editcomponents.cgi?action=add&amp;product=[% product.name FILTER url_quote %]">Create
+      <a href="editcomponents.cgi?action=add&amp;product=[% product.name FILTER uri %]">Create
       a new component</a>.
     [% ELSE %]
       Please contact [% Param("maintainer") %] and ask them
     has to have at least one version in order for you to
     enter [% terms.abug %] into it.<br>
     [% IF user.in_group("editcomponents", product.id) %]
-      <a href="editversions.cgi?action=add&amp;product=[% product.name FILTER url_quote %]">Create
+      <a href="editversions.cgi?action=add&amp;product=[% product.name FILTER uri %]">Create
       a new version</a>.
     [% ELSE %]
       Please contact [% Param("maintainer") %] and ask them
     This will remove all [% terms.bugs %] from the
     <em>[% name FILTER html %]</em> tag. This will delete the tag completely. Click
     <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
-    [%- name FILTER url_quote %]&amp;token=
-    [%- issue_hash_token([query_id, name]) FILTER url_quote %]">here</a>
+    [%- name FILTER uri %]&amp;token=
+    [%- issue_hash_token([query_id, name]) FILTER uri %]">here</a>
     if you really want to delete it.
 
   [% ELSIF error == "no_bugs_to_remove" %]
     [% title = "Must define new default milestone" %]
     [% admindocslinks = {'products.html' => 'Administering products',
                          'milestones.html' => 'About Milestones'} %]
-    You must <a href="editmilestones.cgi?action=add&amp;product=[% product FILTER url_quote %]">
+    You must <a href="editmilestones.cgi?action=add&amp;product=[% product FILTER uri %]">
     create the milestone '[% milestone FILTER html %]'</a> before
     it can be made the default milestone for product '[% product FILTER html %]'.
 
     The name <em>[% name FILTER html %]</em> is already used by another
     saved search. You first have to
     <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
-    [%- name FILTER url_quote %]&amp;token=
-    [% issue_hash_token([query_id, name]) FILTER url_quote %]">delete</a>
+    [%- name FILTER uri %]&amp;token=
+    [% issue_hash_token([query_id, name]) FILTER uri %]">delete</a>
     it if you really want to use this name.
 
   [% ELSIF error == "query_name_missing" %]
   <p>  
     Alternatively, you can    
     <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
-                  [% namedcmd FILTER url_quote %]">forget</a>
+                  [% namedcmd FILTER uri %]">forget</a>
                   
     [% FOREACH q = Bugzilla.user.queries %]
       [% IF q.name == namedcmd %]
index cbeb72cf890d6c98c40a2fb6ffeef6ba9c56cfb7..31591ec5a4845abb80de189bc8ab6d45884db53f 100644 (file)
@@ -35,7 +35,7 @@
   [% title = title _ ": " _ (searchname OR defaultsavename) FILTER html %]
 [% END %]
 
-[% qorder = order FILTER url_quote IF order %]
+[% qorder = order FILTER uri IF order %]
 
 
 [%############################################################################%]
         [% urlquerypart FILTER html %]&amp;ctype=ics">iCalendar</a> |
         <a href="colchange.cgi?
         [% urlquerypart FILTER html %]&amp;query_based_on=
-          [% defaultsavename OR searchname FILTER url_quote %]">Change&nbsp;Columns</a> |
+          [% defaultsavename OR searchname FILTER uri %]">Change&nbsp;Columns</a> |
 
         [% IF bugs.size > 1 && caneditbugs && !dotweak %]
           <a href="buglist.cgi?[% urlquerypart FILTER html %]
       <td valign="middle" nowrap="nowrap" class="bz_query_forget">
         |
         <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
-                [% searchname FILTER url_quote %]&amp;token=
-                [% issue_hash_token([search_id, searchname]) FILTER url_quote %]">
+                [% searchname FILTER uri %]&amp;token=
+                [% issue_hash_token([search_id, searchname]) FILTER uri %]">
           Forget&nbsp;Search&nbsp;'[% searchname FILTER html %]'</a>
       </td>
     [% ELSE %]
   [% editqueryname = searchname OR defaultsavename OR '' %]
   query.cgi?[% urlquerypart FILTER html %]
     [%- IF editqueryname != '' %]&amp;known_name=
-      [%- editqueryname FILTER url_quote %]
+      [%- editqueryname FILTER uri %]
     [% END %]
 [% END %]
 
 [% BLOCK enter_bug_link %]
   <a href="enter_bug.cgi
            [%- IF one_product.defined %]?product=
-             [%- one_product.name FILTER url_quote %][% END %]">File
+             [%- one_product.name FILTER uri %][% END %]">File
     a new [% terms.bug %]
    [% IF one_product.defined %]
      in the "[% one_product.name FILTER html %]" product
index b135267f4539c2fa1ed536408bcbf9a123fe70d7..54e8d0618813844a9183d26671f45fb29e1b4038 100644 (file)
@@ -58,11 +58,11 @@ END:VCALENDAR
 [% END %]
 
 [% BLOCK ics_uid %]
-  [% "${bug_id}@${base_url}" FILTER url_quote FILTER ics('UID') %]
+  [% "${bug_id}@${base_url}" FILTER uri FILTER ics('UID') %]
 [% END %]
 
 [% BLOCK ics_url %]
-  [% "${base_url}show_bug.cgi?id=${bug_id}" FILTER url_quote FILTER ics('URL;VALUE=URI') %]
+  [% "${base_url}show_bug.cgi?id=${bug_id}" FILTER uri FILTER ics('URL;VALUE=URI') %]
 [% END %]
 
 [% BLOCK ics_dtstart %]
index 1404b2e352d314511ecd60246d0b0fc6697eea3b..1870ffcf26bd1fef9fb5edfe15d2073470c7e1a1 100644 (file)
               [% "Unknown" IF NOT users.$userid %]
             </td>
             <td>
-              <a href="quips.cgi?action=delete&amp;quipid=[% quipid FILTER url_quote %]">
+              <a href="quips.cgi?action=delete&amp;quipid=[% quipid FILTER uri %]">
                 Delete
               </a>
             </td>
index 7e6eb5b99d94f530cb820a00c5bcf19d7955ecb4..789d4c42eea1f88afc2fb9ac0d322be492fe6fc7 100644 (file)
@@ -87,7 +87,7 @@
                   [% urlquerypart FILTER html %]&amp;order=
                   [% PROCESS new_order id='bug_id' %]
                   [%-#%]&amp;query_based_on=
-                  [% defaultsavename OR searchname FILTER url_quote %]">ID
+                  [% defaultsavename OR searchname FILTER uri %]">ID
           [% PROCESS order_arrow id='bug_id' ~%]
         </a>
       </th>
     <a href="buglist.cgi?[% urlquerypart FILTER html %]&amp;order=
       [% PROCESS new_order %]
       [%-#%]&amp;query_based_on=
-      [% defaultsavename OR searchname FILTER url_quote %]">
+      [% defaultsavename OR searchname FILTER uri %]">
         [%- abbrev.$id.title || field_descs.$id || column.title -%]
         [% PROCESS order_arrow ~%]
     </a>
   [% IF (om = order.match("\\b$id( DESC)?")) %]
     [% desc = ' DESC' IF NOT om.0 %]
   [% END %]
-  [% id _ desc FILTER url_quote %]
+  [% id _ desc FILTER uri %]
   [% IF id != 'bug_id' AND order %]
-    [% ',' _ order.remove("\\b$id( DESC)?(,\\s*|\$)") FILTER url_quote %]
+    [% ',' _ order.remove("\\b$id( DESC)?(,\\s*|\$)") FILTER uri %]
   [% END %]
 [% END %]
 
index 2b7d1516e0bb404167bfe9b74a3a0c7184de30f7..9814f273b7240c8b69e648d6aa7b3a8d5dabd9b2 100644 (file)
@@ -83,8 +83,8 @@
   <tr id="[% comp.name FILTER html %]">
     <td rowspan="2" class="component_name">
       <a href="buglist.cgi?product=
-               [%- product.name FILTER url_quote %]&amp;component=
-               [%- comp.name FILTER url_quote %]&amp;resolution=---">
+               [%- product.name FILTER uri %]&amp;component=
+               [%- comp.name FILTER uri %]&amp;resolution=---">
       [% comp.name FILTER html %]</a>
     </td>
     <td class="component_assignee">
index e2b6090fed53f9b6bb63c575600bc67d7a9c552e..b7068ac14c7601255186a57eb84b5c98911de88a 100644 (file)
@@ -180,9 +180,9 @@ function subcatSelected() {
                        [%- series.series_id %]">Delete</a> |
               [% END %]
               <a href="buglist.cgi?cmdtype=dorem&amp;namedcmd=
-                [% series.category FILTER url_quote %]%20/%20
-                [% series.subcategory FILTER url_quote %]%20/%20
-                [% series.name FILTER url_quote -%]&amp;series_id=
+                [% series.category FILTER uri %]%20/%20
+                [% series.subcategory FILTER uri %]%20/%20
+                [% series.name FILTER uri -%]&amp;series_id=
                 [% series.series_id %]&amp;remaction=runseries">Run Search</a>
             </td>        
           </tr>
index 5003551c7459f4d283cb154f8bdf77a48b27a927..a25cd1ea5fc131bcd59f0ada248203e372919c5b 100644 (file)
@@ -52,7 +52,7 @@
 
 <p>
   <a href="chart.cgi?action=delete&amp;series_id=[% series.series_id FILTER html %]&amp;token=
-           [%- issue_hash_token([series.id, series.name]) FILTER url_quote %]">Yes, delete</a> |
+           [%- issue_hash_token([series.id, series.name]) FILTER uri %]">Yes, delete</a> |
   <a href="chart.cgi">No, go back to the charts page</a>
 </p>
 
index 38ab2d56b4b7a511040fea48cc2e284c6ced3224..a7abf07b820977391ac86ab47ae0c9f28b8601dd 100644 (file)
 %]
   [% NEXT IF NOT ${param}.defined %]
   [% FOREACH value = ${param} %]
-    [% filtered_value = value FILTER url_quote %]
+    [% filtered_value = value FILTER uri %]
     [% base_args.push("$param=$filtered_value") %]
   [% END %]
 [% END %]
 [% IF sortvisible %]
-  [% bug_ids_string = bug_ids.nsort.join(',') FILTER url_quote %]
+  [% bug_ids_string = bug_ids.nsort.join(',') FILTER uri %]
   [% base_args.push("bug_id=$bug_ids_string") %]
 [% END %]
 [% base_args_string = base_args.join('&amp;') %]
@@ -80,9 +80,9 @@
             [% column.reverse_sort = reverse ? 0 : 1 %]
           [% END %]
           <th class="[% column.name FILTER html %]">
-            <a href="duplicates.cgi?sortby=[% column.name FILTER url_quote %]
+            <a href="duplicates.cgi?sortby=[% column.name FILTER uri %]
                      [% IF column.reverse_sort.defined %]
-                      [%- %]&amp;reverse=[% column.reverse_sort FILTER url_quote %]
+                      [%- %]&amp;reverse=[% column.reverse_sort FILTER uri %]
                      [% END %]
                      [% IF base_args_string %]
                        [% "&amp;$base_args_string" FILTER none %]
index 214bbcd75b94d23244cf37fae2be9cc0d4262262..9afe7edcd6accd9840e0df73550100e0cb29f6b4 100644 (file)
@@ -64,9 +64,9 @@ set.
   <a href="query.cgi?[% default.query FILTER html %]">View 
     series search parameters</a> |
   <a href="buglist.cgi?cmdtype=dorem&amp;namedcmd=
-    [% default.category FILTER url_quote %]-
-    [% default.subcategory FILTER url_quote %]-
-    [% default.name FILTER url_quote %]&amp;remaction=runseries&amp;series_id=
+    [% default.category FILTER uri %]-
+    [% default.subcategory FILTER uri %]-
+    [% default.name FILTER uri %]&amp;remaction=runseries&amp;series_id=
     [% default.series_id %]">Run series search</a>
 </p>
 
index d6fe034253dad334a2a20f817c6ea6bc1e8ef149..045c6ebebb1d50dd5c05377655c4606f599229e8 100644 (file)
@@ -56,7 +56,7 @@
     <td>[% keyword.description FILTER html_light %]</td>
     <td align="center">
       [% IF keyword.bug_count > 0 %]
-        <a href="buglist.cgi?keywords=[% keyword.name FILTER url_quote %]&amp;resolution=---">
+        <a href="buglist.cgi?keywords=[% keyword.name FILTER uri %]&amp;resolution=---">
           Search</a>
       [% ELSE %]
         none
@@ -64,7 +64,7 @@
     </td>
     <td align="right">
       [% IF keyword.bug_count > 0 %]
-        <a href="buglist.cgi?keywords=[% keyword.name FILTER url_quote %]">
+        <a href="buglist.cgi?keywords=[% keyword.name FILTER uri %]">
           [% keyword.bug_count %]</a>
       [% ELSE %]
         none
index 164a833bfdb39dc78b7de01292a08f2ccefa6454..cd854230f4d5f1edb857d6f279346de8e63a7c39 100644 (file)
@@ -42,7 +42,7 @@
   [% "&amp;$tbl_vals" IF tbl_vals %][% END %]
 [% ELSE %]
   [% urlbase = BLOCK %]buglist.cgi?[% buglistbase FILTER html %]&amp;
-  [% tbl_field FILTER url_quote %]=[% tbl FILTER url_quote %][% END %]
+  [% tbl_field FILTER uri %]=[% tbl FILTER uri %][% END %]
 [% END %]
 
 <script type="text/javascript">
@@ -193,8 +193,8 @@ YAHOO.util.Event.addListener(window, "load", function() {
         <td class="[% classes.$row_idx.$col_idx %]" align="center">
           [% IF data.$tbl.$col.$row AND data.$tbl.$col.$row > 0 %]
             <a href="[% urlbase %]&amp;
-              [% row_field FILTER url_quote %]=[% row FILTER url_quote %]&amp;
-              [% col_field FILTER url_quote %]=[% col FILTER url_quote %]">
+              [% row_field FILTER uri %]=[% row FILTER uri %]&amp;
+              [% col_field FILTER uri %]=[% col FILTER uri %]">
               [% data.$tbl.$col.$row %]</a>
           [% ELSE %]
             .
@@ -203,7 +203,7 @@ YAHOO.util.Event.addListener(window, "load", function() {
       [% END %] 
       <td class="ttotal" align="right">
         <a href="[% urlbase %]&amp;
-          [% row_field FILTER url_quote %]=[% row FILTER url_quote %]
+          [% row_field FILTER uri %]=[% row FILTER uri %]
           [% "&amp;$col_vals" IF col_vals %]">
         [% row_total %]</a>
         [% grand_total = grand_total + row_total %]
@@ -220,7 +220,7 @@ YAHOO.util.Event.addListener(window, "load", function() {
       
         <td class="ttotal" align="center">
           <a href="[% urlbase %]&amp;
-            [% col_field FILTER url_quote %]=[% col FILTER url_quote %]
+            [% col_field FILTER uri %]=[% col FILTER uri %]
             [% "&amp;$row_vals" IF row_vals %]">
           [% col_totals.$col %]</a>
         </td>
index 0c15c94896b1886cc93b129bfa14e01a4fb668a0..d4c9d404371612e5cff6cf5dcc433b7c0d381fe1 100644 (file)
       [% END %]
       
       [% imageurl = BLOCK %]report.cgi?[% imagebase FILTER html %]&amp;format=
-        [% format FILTER url_quote %]&amp;ctype=png&amp;action=plot&amp;
+        [% format FILTER uri %]&amp;ctype=png&amp;action=plot&amp;
         [% IF tbl_field %]
           [% IF tbl != "-total-" %]
-            [% tbl_field FILTER url_quote %]=[% tbl FILTER url_quote %]&amp;
+            [% tbl_field FILTER uri %]=[% tbl FILTER uri %]&amp;
           [% ELSE %]
             [% FOREACH tblname = tbl_names %]
               [% IF tblname != "-total-" %]
-                [% tbl_field FILTER url_quote %]=[% tblname FILTER url_quote %]&amp;
+                [% tbl_field FILTER uri %]=[% tblname FILTER uri %]&amp;
               [% END %]
             [% END %]
           [% END %]
index b2fa092ea5ec685cd80db73af7ff45c6e1f51cd5..ee409d759fc9518af4a82ff413d860f879298fcb 100644 (file)
@@ -102,12 +102,12 @@ function normal_keypress_handler( aEvent ) {
   [%- END %]
       <separator class="thin"/>
   [%- IF user.showmybugslink %]
-      [% filtered_username = user.login FILTER url_quote %]
+      [% filtered_username = user.login FILTER uri %]
       <text class="text-link" onclick="load_relative_url('[% Param('mybugstemplate').replace('%userid%', filtered_username) FILTER js FILTER html %]')" value="my [% terms.bugs %]"/>
   [%- END %]
 
   [%- FOREACH q = user.queries %]
-      <text class="text-link" onclick="load_relative_url('buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% q.name FILTER url_quote %]')" value="[% q.name FILTER html %]"/>
+      <text class="text-link" onclick="load_relative_url('buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% q.name FILTER uri %]')" value="[% q.name FILTER html %]"/>
   [% END %]
 
 [% ELSE %]