#7065 closed enhancement (fixed)
max_wiki_size, max_ticket_size settings
| Reported by: | Owned by: | Remy Blank | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.2 |
| Component: | wiki system | Version: | |
| Severity: | major | Keywords: | patch |
| Cc: | remy.blank@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
In the aftermath of #7064, it seems that it would be beneficial to be able to restrict wiki pages and tickets to a configurable maximum size.
We (in the developer.pidgin.im instance) have had people defacing tickets and wiki pages with large amounts of text - this would mitigate the problem somewhat and make the problem less painful to deal with.
Attachments (1)
Change History (9)
comment:1 by , 18 years ago
| Severity: | blocker → major |
|---|
comment:2 by , 18 years ago
I started looking into this, and the option exists for ticket descriptions since 0.11 ([ticket] max_description_size which defaults to the same as attachments do). No such thing for wiki pages though.
comment:3 by , 18 years ago
| Component: | general → wiki system |
|---|---|
| Milestone: | → 0.11.1 |
| Owner: | changed from to |
Goes along the lines of resource control, so OK for 0.11.1 (here, resource as in CPU/memory of course ;-) ).
by , 17 years ago
| Attachment: | 7065-limit-wiki-ticket-comment-size-r7439.patch added |
|---|
Patch against 0.11-stable adding options to limit wiki page and ticket comment length
comment:4 by , 17 years ago
| Cc: | added |
|---|---|
| Keywords: | patch added |
The patch above introduces two new configuration options:
[ticket] max_comment_size: limits the size of ticket comments.[wiki] max_size: limits the size of wiki pages.
The default value is the same as for [ticket] max_description_size and [attachment] max_size.
comment:5 by , 17 years ago
patch looks good. I still think the SpamFilter plugin is the only real defense against this type of problem but I guess people can find this useful.
comment:8 by , 17 years ago
| Owner: | changed from to |
|---|



Sorry, I didn't mean to make it a blocker.