If "&" in freelink title (such as [[freelink & to]] and click to create new node, the new node title will trim characters after "&". I added "drupal_urlencode" to fix it.

'query' => 'edit[title]=' . drupal_urlencode($thetitle)
CommentFileSizeAuthor
freelinking.module.patch1.07 KByaoweizhen

Comments

Grayside’s picture

Version: 6.x-1.7 » 6.x-1.x-dev

Please reroll against 6.x-1.x.

Grayside’s picture

Status: Needs review » Needs work
Grayside’s picture

Status: Needs work » Needs review

That doesn't seem to work for me, but:

          'query' => 'edit[title]=' . str_replace('&', '%26', $thetitle), 

Does the trick, if awkwardly.

Grayside’s picture

Status: Needs review » Fixed

Please test the -dev version so the change can be released as part of Freelinking 1.9.

Status: Fixed » Closed (fixed)

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