Closed Bug 276202 Opened 20 years ago Closed 12 years ago

Can more filtering tests be done - to check filter type?

Categories

(Bugzilla :: Testing Suite, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bugzilla, Unassigned)

Details

Bug#275939 was about the 'html' filter beiing used in an url, where 'url_quote'
should have been used.

This bug is to consider if it is practical to add a check for this situation to
the test suite.

Vlad said:

> 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.

Gerv said:

> 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.
QA Contact: mattyt-bugzilla → default-qa
Assignee: zach → testing
I don't see how this could be implemented without getting too many false positives, especially about filtering inside anchors.
Severity: normal → enhancement
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.