Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On tracker/*, user/track/* etc. the links have a title of its non-aliased path.
Plz fix these.
Patch included.
Comment | File | Size | Author |
---|---|---|---|
#3 | statistics.module.patch_1.txt | 1.82 KB | doq |
statistics.module.patch_0.txt | 421 bytes | doq |
Comments
Comment #1
doq CreditAttribution: doq commentedComment #2
Dries CreditAttribution: Dries commentedHi 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?Comment #3
doq CreditAttribution: doq commentedAttaching 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.
Comment #4
doq CreditAttribution: doq commentedComment #5
Dries CreditAttribution: Dries commentedLooks good. Committed to HEAD. Thanks.
Comment #6
(not verified) CreditAttribution: commented