Closed
Bug 275939
Opened 20 years ago
Closed 20 years ago
Classification templates use wrong filtering in URLs
Categories
(Bugzilla :: Administration, task)
Bugzilla
Administration
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: bugzilla, Assigned: bugzilla)
Details
Attachments
(1 file)
|
3.83 KB,
patch
|
goobix
:
review+
|
Details | Diff | Splinter Review |
In urls, the classififcation code uses 'FILTER html'. It should use url_quote. Patch in a mo....
It would be nice to be able to test for this sort of problem in the testing suite, but I'm not sure if that would be practical. Thoughts...?
Attachment #169533 -
Flags: review?
Updated•20 years ago
|
Target Milestone: --- → Bugzilla 2.20
Comment 2•20 years ago
|
||
Regarding the patch: -> Looks good, thanks! -> I'm CCing Albert, Joel and Byron who did development and review on the bogus code. -> Requesting the appropiate flags for check in. Regarding testing suite: -> We could assume that 'FILTER html' inside the '<a ... >' HTML tag would be bogus most of the time, but that would be a little bit of a hack. -> In the same spirit, 'FILTER url_quote' outside '<a ... >' tags could be assumed incorrect. -> However there are lot of cases where these euristics would fail. -> Probably that should be another bug.
Status: NEW → ASSIGNED
Comment 3•20 years ago
|
||
The original bug implementing this feature is bug 224208 (targetted at 2.20).
Flags: blocking2.20?
Flags: approval?
Updated•20 years ago
|
Attachment #169533 -
Flags: review? → review+
Comment 4•20 years ago
|
||
Yes, file another bug on the testing suite changes. The best way to see would be to implement the tests, and see what false positives they threw up and whether it would be possible to work around them. Gerv
Updated•20 years ago
|
Flags: blocking2.20?
Flags: blocking2.20+
Flags: approval?
Flags: approval+
Comment 5•20 years ago
|
||
Checking in template/en/default/admin/classifications/edit.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/classifications/edit.html.tmpl,v <-- edit.html.tmpl new revision: 1.3; previous revision: 1.2 done Checking in template/en/default/admin/classifications/new.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/classifications/new.html.tmpl,v <-- new.html.tmpl new revision: 1.2; previous revision: 1.1 done Checking in template/en/default/admin/classifications/select.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/classifications/select.html.tmpl,v <-- select.html.tmpl new revision: 1.3; previous revision: 1.2 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Summary: Classification templates use wrong filtering in urls → Classification templates use wrong filtering in URLs
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•