This forum has been archived. All content is frozen. Please use KDE Discuss instead.

search doesn't handle "&" properly

Tags: None
(comma "," separated)
Tanktalus
Registered Member
Posts
67
Karma
0
OS

search doesn't handle "&" properly

Sun May 21, 2006 4:39 am
When I search for a term such as "D&D" with bittorrent.com, it thinks I only searched for "D" - but if I then use the form inside the search window (as opposed to the one beside KT's search button), then it's fine as it is escaped properly.

In other words, whatever gets typed in needs to be properly HTML-escaped. I imagine that Qt or KDE has a method somewhere for that, because last time I tried doing something similar in perl, I got it wrong (until I used a module someone else wrote). ;-)
George
Moderator
Posts
5421
Karma
1

Sun May 21, 2006 8:28 am
Indeed, I have fixed it in SVN.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]