On tracker/*, user/track/* etc. the links have a title of its non-aliased path.
Plz fix these.
Patch included.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

doq’s picture

Status: Active » Needs review
Dries’s picture

Version: 4.7.0-rc3 » 4.7.0
Status: Needs review » Needs work

Hi doq, thanks for the patch. Looking at the statistics module it seems as if _statistics_column_width() is only used for links. Maybe you could go one step further and move the path lookup to that function? It that is a viable solution, I suggest renaming _statistics_column_width() to _statistics_prune_url() or something equivalent. Care to investigate this a bit more?

doq’s picture

Attaching new patch.

P.S. Have found smth:
function l(...) have a code inside, like check_url(url(...)).
Is that neccesary to check_url, 'cos url has a filter_xss_bad_protocol(...) inside which is the same as check_url(...). You better look in this.

doq’s picture

Status: Needs work » Needs review
Dries’s picture

Status: Needs review » Fixed

Looks good. Committed to HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)