Opened 8 years ago
Closed 8 years ago
#1701 closed enhancement (fixed)
Update trac-security.js
Reported by: | jorbin | Owned by: | ocean90 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Trac | Keywords: | has-patch |
Cc: |
Description
The list of badwords hasn't been updated in the two years since we added the checkbox. This adds some more keywords.
Some are variations on existing words such as adding "vulnerable" to go with "'vulnerability and "vulnerabilities", others are new words that hadn't been considered.
Also, I feel a lot of <3 that this triggered the checkbox. However, we should make sure it is working on the meta form.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
The first part of the patch is the change to the keywords.
The second part uses the same selector to enable the button as it does to disable it. This is important on tracs like meta that use preview instead of create.