Needs review
Project:
Radioactivity
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2013 at 17:08 UTC
Updated:
4 Nov 2014 at 21:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedJust done the same thing - you can't specify a different /tmp folder for each site as that's a global setting for the module.
My quick fix was to change lines 25+44 of includes/RadioactivityFileIncidentStorage.inc to:
It's a hack, but without it radioactivity for each site will come from a single file, and no filtering will be done. You'll end up getting Duplicate Key errors when adding new content on probably all of the sites.
Comment #2
René-Marc Simard commentedHere is _isos' approach rolled into a simple patch, along with some hardening to filter out any characters that could be problematic within file names, like the columns in an IPV6 address for instance.