Project:Nice Menus
Version:6.x-2.x-dev
Component:CSS
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

Assigned to:ppatriotis» Anonymous

#2

Version:6.x-1.3» 6.x-2.x-dev
Status:active» fixed

Added period to the strip list in HEAD.

#3

Status:fixed» closed (fixed)

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

nobody click here