I have a path that a menu item uses with a period in it (e.g. http://drupal.org). The following code could name the class "menu-path-drupal.org". Shouldn't the period be removed?

I see this line:

$clean_path = str_replace(array('http://', '<', '>', '&', '=', '?', ':'), '', $menu_item['link']['href']);

Should '.' be added?

Comments

ppatriotis’s picture

Assigned: ppatriotis » Unassigned
add1sun’s picture

Version: 6.x-1.3 » 6.x-2.x-dev
Status: Active » Fixed

Added period to the strip list in HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.