gkoberger / BugzillaJS

A userscript that adds additional functionality to bugzilla
https://addons.mozilla.org/en-US/firefox/addon/bugzillajs/
43 stars 18 forks source link

Disable inline images on security bugs #84

Open rik opened 11 years ago

rik commented 11 years ago

Because those bugs can contain dangerous images.

albill commented 11 years ago

Oh please god.

rik commented 11 years ago

@globau I used the class bz_group_websites-security to check for this but it seems a bit specific. Do you know another way to detect all security bugs?

globau commented 11 years ago

indeed, bz_group_websites-security isn't sufficient. check the body element for any classes which start with bzgroup

rik commented 11 years ago

Wouldn't that also include private bugs like MoCo internal?

globau commented 11 years ago

yes, it'll catch all non-public bugs. bugzilla doesn't care if a group is used for "security issues" or any other reason. looking at the groups we have defined, it looks like looking for bz_group_security should be ok, with the only current exception to that rule being "infrasec".