Special characters in freelink are converted to HTML code in the new node title. This way all links end up being broken.

[[ñull's page]] will result in prepopulating a new node with the title "ñull's page". When an ignorant user saves this node, the link will be broken.

CommentFileSizeAuthor
#4 z.png14.65 KBgisle

Comments

ñull’s picture

Issue summary: View changes

placing code tags

gisle’s picture

Version: 7.x-3.2 » 7.x-3.x-dev
Assigned: Unassigned » gisle
Issue summary: View changes
Status: Active » Needs work

Confirming that this bug is still present in the latest dev snapshot.

strawberrybrick’s picture

Version: 7.x-3.x-dev » 6.x-3.5
Issue tags: +bug

Not sure if this is the same problem, but if I have "-" in a nodetitle, the link does not work.

[[nodetitle:brainticket|Brainticket]]
works however
[[nodetitle:allen-daevid|Daevid Allen]]
does not

gisle’s picture

Version: 6.x-3.5 » 7.x-3.x-dev
Issue tags: -bug +needs backport to 6.x-1.x

Please do not change version. All bug fixes will first go into dev of the most recent branch. Backports to 6.x-3.x will happen after a fix has been commited to the 7.x-3.x branch.

"Bug" is not a valid tag. Besides, it is already classified as a Bug Report by the Category used.

gisle’s picture

StatusFileSize
new14.65 KB

djfake,
I am unable to reproduce the problem with a hyphen in the nodetitle you report in #2. This applies to both the D6 and D7 versions of Freelinking.

Below is a screenshot of me testing it for ver. 6.x-3.5:

screen shot

Nodetitle is allen-daevid, freelink is [[nodetitle:allen-daevid|Daevid Allen]].

As you can see, the page is linked and the link is correct.

If you still think this is a problem, please open it as a separate issue and give step by step instructions for how to reproduce this from a clean install.

  • gisle committed d1558b9 on 7.x-3.x
    Issue #2001608 by gisle: Fixed special characters cause wrong node title
    
gisle’s picture

Status: Needs work » Needs review

A fix has been pushed to the latest development snapshot of the 7.x-3.x-dev branch.

Please review.

gisle’s picture

Version: 7.x-3.x-dev » 7.x-3.6
Assigned: gisle » Unassigned
Status: Needs review » Fixed

This is now fixed in version 7.x-3.6 of Freelinking.

Note: Before updating to version 7.x-3.6, you should to enable the following module on your site: Advanced help hint.

Also, as part of updating, make sure you run the update script to make sure this required module is properly enabled.

Failing to do so will trigger the following error message when you try to visit some of the tabs in the admin GUI: Call to undefined function advanced_help_hint_docs() ...

Status: Fixed » Closed (fixed)

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