woodtime / webgrind

Automatically exported from code.google.com/p/webgrind
Other
0 stars 0 forks source link

Error with function Webgrind_Config::xdebugOutputFormat #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, 

Here is the format of my
cachegrind.out.localhost.__phpinfo=1_XDEBUG_PROFILE=true.1216279621

There are '"' in the filename, so I added '=' in the regexp.

So I replace the line 56 of webgrind/config.php :

$outputName = '/^'.preg_replace('/(%[^%])+/', '[a-zA-Z0-9%_-]+',
$outputName).'$/';

by :

$outputName = '/^'.preg_replace('/(%[^%])+/', '[a-zA-Z0-9%_=-]+',
$outputName).'$/';

Regards

Mathieu

Original issue reported on code.google.com by mathieu....@gmail.com on 17 Jul 2008 at 8:08

GoogleCodeExporter commented 8 years ago
Oops, it's a duplicate issue of the 14.

http://code.google.com/p/webgrind/issues/detail?id=14

Original comment by mathieu....@gmail.com on 17 Jul 2008 at 9:47

GoogleCodeExporter commented 8 years ago
Thanks again - it does indeed duplicate issue 14. Will fix.

Original comment by gugakf...@gmail.com on 17 Jul 2008 at 10:47