Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1735 closed Bug (fixed)

AnonymizeIP is not 64bit clean

Reported by: arnotron Owned by:
Priority: major Milestone: Piwik 1.1
Component: Core Keywords:
Cc: Sensitive: no


I had to realize that the AnonymizeIP plugin is not 64bit clean. It sets either or as IP address, depending on the setting of ip_address_mask_length.

The best workaround I found was masking the result of the anonymization with 0xffffffff, as you can find in the attached patch.

Attachments (1)

anonymizeIP.diff (269 bytes) - added by arnotron 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by arnotron

comment:1 Changed 4 years ago by vipsoft (robocoder)

  • Milestone set to 1.1 - Piwik 1.1

comment:2 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [3186]) fixes #1735 - thanks arnotron

comment:3 Changed 4 years ago by vipsoft (robocoder)

(In [3188]) refs #1735 - oops; my mistake

Note: See TracTickets for help on using tickets.