Closed Bug 717215 Opened 12 years ago Closed 12 years ago

Remove references to url_quote filter

Categories

(Bugzilla :: Bugzilla-General, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 4.2

People

(Reporter: mail, Assigned: mail)

References

Details

Attachments

(1 file, 2 obsolete files)

Attached patch diff (obsolete) — Splinter Review
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Build ID: 20111223083612

Steps to reproduce:

With bug 398701 now implemented, there were still two references to the url_quote filter.



Expected results:

These references should be changed from url_quote to uri.
This is only for the url_quote filter that was part of Bugzilla::Template, and removed in bug 398701. Note there is still the url_quote subroutine in Bugzilla::Utils

I've attached a patch to fix this. Not a major issue at all, but good to clean it up nonetheless.

  -- simon
See Also: → 398701
Comment on attachment 587666 [details] [diff] [review]
diff without my name in the contributors list

>=== modified file 'template/en/default/bug/field.html.tmpl'

>   #   desc_url: string; Normally the label of a non-custom field links to
>   #             fields.html. If you want it to link elsewhere, specify the
>   #             relative URL you want to link to, here. Remember to call
>-  #             url_quote on any query string arguments.
>+  #             the uri filter on any query string arguments.

Actually, desc_url no longer exists in this template, and this description must go away. It has been moved into template/en/default/bug/field-label.html.tmpl where the description is already correct, see bug 555850.


>=== modified file 'template/en/default/filterexceptions.pl'

>+#   where the filter is one of html|csv|js|uri|quoteUrls|time|uri|xml|none

uri is now mentioned twice                   ^^^                ^^^
Attachment #587666 - Flags: review-
Assignee: general → sgreen+mozilla
Severity: normal → trivial
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → Bugzilla 4.2
Attachment #587662 - Attachment is obsolete: true
Attachment #587662 - Attachment is patch: true
Attached patch v2 patchSplinter Review
Fixed the two problems identified.

Definitely trivial :)
Attachment #587666 - Attachment is obsolete: true
Attachment #587670 - Flags: review?
Comment on attachment 587670 [details] [diff] [review]
v2 patch

Thanks! :) r=LpSolit
Attachment #587670 - Flags: review? → review+
Flags: approval4.2+
Flags: approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified template/en/default/filterexceptions.pl
modified template/en/default/bug/field.html.tmpl
Committed revision 8077.

Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.2/
modified template/en/default/filterexceptions.pl
modified template/en/default/bug/field.html.tmpl
Committed revision 8007.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: