Opened 4 years ago

Closed 3 years ago

#1578 closed Bug (fixed)

Case-insensitive domain name matching

Reported by: vipsoft Owned by:
Priority: normal Milestone: Piwik 1.3
Component: Core Keywords:
Cc: Sensitive: no

Description

Use mb_strtolower() on the server side for referers, etc.

On the client, use JavaScript's .toLowerCase().

Change History (6)

comment:2 Changed 4 years ago by matt (mattab)

I think it also includes the Tracker url matching, eg. in detectRefererDirectEntry() in Visit.php

comment:4 follow-up: Changed 4 years ago by vipsoft (robocoder)

And treat www.domain.com and domain.com as equivalent?

comment:5 in reply to: ↑ 4 Changed 4 years ago by matt (mattab)

Replying to vipsoft:

And treat www.domain.com and domain.com as equivalent?

It would make sense I think

comment:6 Changed 3 years ago by matt (mattab)

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

(In [4201]) Fixes #1578

Note: See TracTickets for help on using tickets.