id summary reporter owner description type status priority component severity resolution keywords cc release 7539 Upload of patch files often rejected as Spam Ryan J Ollos Michael Renzmann "Upload of patch files often fails with: {{{ 500 Internal Server Error (Submission rejected as potential spam (Maximum number of external links per post exceeded)) }}} See #3921, where upload of ticketstats-r7633.patch was rejected as spam (so the patch had to be uploaded in a gzip archive). Here is the patch file from that ticket: {{{ #!patch Index: ticketstats/ticketstats.py =================================================================== --- ticketstats/ticketstats.py (revision 7537) +++ ticketstats/ticketstats.py (working copy) @@ -237,7 +237,7 @@ data['start_date'] = from_date.strftime(""%m/%d/%Y"") data['end_date'] = at_date.strftime(""%m/%d/%Y"") data['resolution'] = str(graph_res) - data['baseurl'] = req.base_url + data['baseurl'] = self.yui_base_url data['milestones'] = milestone_list data['cmilestone'] = milestone_num return 'greensauce.html', data, None Index: ticketstats/templates/greensauce.html =================================================================== --- ticketstats/templates/greensauce.html (revision 7537) +++ ticketstats/templates/greensauce.html (working copy) @@ -12,14 +12,14 @@ #chart { height: 500px } - - - - + + + + - + - + @@ -97,7 +97,7 @@ setProvided(); updateStaticURL(); -YAHOO.widget.Chart.SWFURL = ""http://yui.yahooapis.com/2.5.2/build/charts/assets/charts.swf""; +YAHOO.widget.Chart.SWFURL = ""${baseurl}/build/charts/assets/charts.swf""; var myDataSource = new YAHOO.util.DataSource( ""?content=chartdata"" ); Index: ticketstats/templates/greensauce.html.sav =================================================================== --- ticketstats/templates/greensauce.html.sav (revision 7537) +++ ticketstats/templates/greensauce.html.sav (working copy) @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - -

- -

Ticket Statistics

- -
-
-
- - - - - - - -
-
- - - - - }}}" defect closed normal TracHacks normal fixed Steffen Hoffmann 0.10