A few users have been complaining that Goals are not matched since upgrade to 1.1.
We should add unit tests to test that goal matching works as expected in all supported use cases, if not fix the issue
From Joachim: "the fault is the uncommented / in the regex. With
the / are commented by piwik, but it is not checked, if they are already
commented out and also the example in piwik itself is not updated to the new
also, see http://forum.piwik.org/read.php?2,70015
vipsoft, is r3344 doing something in particular or fixing a bug? it seems it broke the regex format. shall I revert?
(In ) Fixes #1991
r3344 is a security best practice because the regex is user input. (If this was a preg_replace, it would have been a potentially serious vulnerability.)
Instead of an unescaped regex failing silently, we should have fixed the docs/examples. Vote to revert 3901.
Either way, existing goals are affected. Can we add an update script?
Also, there's a UI inconsistency in the input handling of regular expressions (SitesManager/Controller.php).
(In ) refs #1991 - runtime detect unescaped "/" in patterns, and escape if needed