This is a test about Wordpress

This is a test related to my post on Wordpress support forum (see below). You can ignore this message or read the comments in order to follow the results of this test.

Ampersands escaped in URLs within comments

On my blog (http://sig.levillage.org/) equipped with Wordpress 0.72, when someone posts a comment containing an HTML link with an URL containing an ampersand, this URL gets mangled… Some characters (like the &) seem to be systematically escaped. IMO, this is a bug (not a feature). The escaping function should not escape ampersands in URL when the URL is a value of a tag attribute. What do you think ? Did I miss something ? Is there currently a workaroung ?

– Sig
http://sig.levillage.org

5 Responses to “This is a test about Wordpress”

  1. Sig Says:

    OK. Let’s go. Let’s suppose I want to make a link to query on Google. This query means I am searching for the word “wordpress” and I want the first 100 results to be displayed. The URL of this query is http://www.google.com/search?num=100&q=wordpress . Here is link I make to this URL. Are the ampersand properly escaped ?

  2. Sig Says:

    Yes, they do. But why was this link to http://www.dmreview.com/master.cfm?Nav193&Ed7438 not handled properly as Vincent said in his comments ?

  3. Sig Says:

    Wow, I must have not been fully awaked when I read Vincent comments ! Indeed, he did not say the ampersand characters were not properly handled. He rather noticed that the “I D =” substring of the URL he linked to unproperly disappeared (I had to add spaces between I D and = in order to make it appear here)! Wordpress is nice with ampersands but definitely not with “I D = ” in URLs. Wow, it appears that Wordpress even suppresses “I D =” when it not within an URL.

  4. AkaSig :: Les trackbacks dans Wordpress Says:

    [...] les trackbacks, je n’avais jamais essayé. Alors faisons un test de trackback sur http://sig.levillage.org/index.php?m=200312#post-386 pour voir si ça marche bien. Laissez un commentaire ! (0) Comments RSS [...]

  5. AkaSig :: Les pingbacks dans Wordpress Says:

    [...] acks, est-ce qu’ils marchent bien, eux ? Essayons en ajoutant également un lien vers cet ancien post. Ce lien devrait automatiquement être soumis à [...]

Leave a Reply