Support » Fixing WordPress » Can WP escape special characters in url’s?

Viewing 9 replies - 1 through 9 (of 9 total)
  • It says “transitional” – not strict.

    My bad. Transitional it is, never meant to be be strict. Still, same problem. Can/could WP fix this?

    Where is that link coming from? Did you manually add it in your sidebar or…?

    It’s just a link that I copied and pasted while posting it. Usinf the bookmarket if I remeber correctly.

    Okay, well then it’s your job to make it correct as it’s not WordPress content really. 😉 However, yes, it’d probably be good if WP ran urlencode() or something on links before outputting them so that users don’t break their site.

    Anyway, replacing the &‘s with &s should probably fix it.

    However, yes, it’d probably be good if WP ran urlencode() or something on links before outputting them so that users don’t break their site.

    Sounds like a plugin idea to me…

    …Actually, can anyone verify WordPress 1.5.2 doesn’t already do this. I checked my blog and find any & in links is already converted to &. I’m just not sure if it’s WordPress or a plugin I’m playing with.

    I just checked and 1.5.2 already does that, since I don’t have any plugin on that install that would do that. So, in links like
    http://www.example.com/index.php?topgroupid=1&groupid=1&subgroupid=&contentid=2124
    in the source become:
    subgroupid=&#038...etc

    Yeah, I know it does it in content, but I was thinking it didn’t on Manage->Links.

    However, now that I look at it more, I think fredrik is just doing something weird, either manually putting it over there or using a plugin that doesn’t wptexturize() output.

    Actually I tested it in the Link Manager.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can WP escape special characters in url’s?’ is closed to new replies.