Closed (outdated)
Project:
Pathauto
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2012 at 08:54 UTC
Updated:
7 Feb 2026 at 18:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sun-fire commentedUPD:
How to reproduce this bug: node title must have < > symbols and quote.
For example (cyrillic text):
<М'ЯТА УПАКОВКА> Роутер D-Link DIR-100 1port WAN
Transliteration return:
Router D-Link DIR-100 1port WAN
When i removed < > and ' all works as designed.
When i removed < it also works as designed
When string contain ' and > it does not working.
Comment #2
emclaughlin commentedSo, if I understand what you're saying correctly, when you create a node titled "МЯТА УПАКОВКА Роутер D-Link DIR-100 1port WAN" the alias that gets assigned to it is "
node/МЯТА УПАКОВКА Роутер D-Link DIR-100 1port WAN" and when you create a node titled "<М'ЯТА УПАКОВКА> Роутер D-Link DIR-100 1port WAN" the alias that gets assigned to it is "node/"?Or does it not get an alias assigned to it at all? I'm attempting to reproduce the problem and finding that "<М'ЯТА УПАКОВКА> Роутер D-Link DIR-100 1port WAN" doesn't get an alias assigned to it at all through pathauto.
Comment #3
chadedge commentedI was having a similar issue where users were adding <3 (emoticon for a "heart") into the title of their posts. This caused the strip_tags to eliminate the entire title string (returning an empty string) so the path auto could not generate a URL alias.
By swapping decode_entities() and strip_tags() I was able to eliminate this issue.
-- This patch is now outdated. #4 is the correct patch (trying to delete this commit) --
Comment #4
chadedge commentedComment #5
chadedge commentedComment #7
chadedge commentedAttempting to resubmit patch using more updated branch of 7.x-1.x pathauto.
Comment #8
chadedge commentedComment #10
zestagio commentedI confirm a bug. I have a term with name "<200 mm Dia Flap wheel". Alias is empty after processing string via
pathauto_cleanstring.Patch attached.
Comment #12
zestagio commentedComment #14
zestagio commentedComment #15
mably commented