diff options
author | robocoder <anthon.pang@gmail.com> | 2011-04-23 02:05:46 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2011-04-23 02:05:46 +0400 |
commit | ea6a41255388341cd6acbd7be77882c7bb128506 (patch) | |
tree | 20917a627de987904941478dbf984c4b7c668b35 /plugins/Feedback/Controller.php | |
parent | 4307650700c494f94e79a3599a225d4245a479f9 (diff) |
fixes #1111 - add support for IPv6 addresses (tracking, anonymization, and exclusion)
fixes #2095 - add new anonymization hook (pre-heuristics)
fixes #2055 - optional IP filter when multiple proxies present
fixes #1775 - SitesManager: supports CIDR notation for IP exclusion
Notes:
* Installer no longer checks for IPv6, so the related messages should be deleted from translations
* IPv4 mapped addresses (e.g., ::ffff:127.0.0.1) are no longer re-mapped into IPv4 space
* users who to query IP addresses from MySQL directly, can use the following SQL, but inet_ntoa() is limited to IPv4 addresses:
{{{
select inet_ntoa(conv(hex(location_ip), 16, 10)) from piwik_log_visit;
}}}
* Windows: IPv6 inet_pton()/inet_ntop() not supported until php 5.3; see #2351
git-svn-id: http://dev.piwik.org/svn/trunk@4533 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Feedback/Controller.php')
-rw-r--r-- | plugins/Feedback/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Feedback/Controller.php b/plugins/Feedback/Controller.php index 85a2568aaf..e1617b44b8 100644 --- a/plugins/Feedback/Controller.php +++ b/plugins/Feedback/Controller.php @@ -62,7 +62,7 @@ class Piwik_Feedback_Controller extends Piwik_Controller $mail->setSubject('[ Feedback form - Piwik ] ' . $category); $mail->setBodyText(Piwik_Common::unsanitizeInputValue($body) . "\n" . 'Piwik ' . Piwik_Version::VERSION . "\n" - . 'IP: ' . Piwik_Common::getIpString() . "\n" + . 'IP: ' . Piwik_IP::getIpFromHeader() . "\n" . 'URL: ' . Piwik_Url::getReferer() . "\n"); @$mail->send(); } |