Edgewall Software

Ticket #7065 (closed enhancement: fixed)

Opened 6 months ago

Last modified 7 weeks ago

max_wiki_size, max_ticket_size settings

Reported by: datallah@… Owned by: cboos
Priority: normal Milestone: 0.11.2
Component: wiki system Version:
Severity: major Keywords: patch
Cc: remy.blank@…

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

7065-limit-wiki-ticket-comment-size-r7439.patch (2.4 kB) - added by Remy Blank <remy.blank@…> 2 months ago.
Patch against 0.11-stable adding options to limit wiki page and ticket comment length

Change History

Changed 6 months ago by anonymous

  • severity changed from blocker to major

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

Changed 6 months ago by thatch

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.

Changed 6 months ago by cboos

  • owner changed from jonas to cboos
  • component changed from general to wiki system
  • milestone set to 0.11.1

Goes along the lines of resource control, so OK for 0.11.1 (here, resource as in CPU/memory of course ;-) ).

Changed 2 months ago by Remy Blank <remy.blank@…>

Patch against 0.11-stable adding options to limit wiki page and ticket comment length

Changed 2 months ago by Remy Blank <remy.blank@…>

  • cc remy.blank@… 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.

Changed 8 weeks ago by jonas

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.

Changed 8 weeks ago by rblank

  • status changed from new to closed
  • resolution set to fixed

Patch applied in [7465].

Changed 7 weeks ago by rblank

  • milestone changed from 0.11.3 to 0.11.2

Setting proper milestone.

Add/Change #7065 (max_wiki_size, max_ticket_size settings)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.