Mod Archive Forums

Website => Feedback & Suggestions => Help & Support => Bug Reports => Topic started by: blarg on January 30, 2008, 06:52:28

Title: [fixed] Bug in search handling of " ' " character
Post by: blarg on January 30, 2008, 06:52:28
I was trying to look for some more tracks by the artist mel o'dee but I get back invalid character for the search.  Since you can't do keyword search like just "mel" to get back proper results it makes finding other tracks by this artist impossible.

http://modarchive.org/index.php?query=mel+o%27dee&request=search&search_type=guessed_artist

A link to that url from track listing:
http://modarchive.org/index.php?query=visions&request=search&search_type=filename

Either it would be a good idea to remove that character all together so nic can be searched or add support for " ' " character.

Title: Re: Bug in search handling of " ' " character
Post by: m0d on January 30, 2008, 10:16:55
I was trying to look for some more tracks by the artist mel o'dee but I get back invalid character for the search.  Since you can't do keyword search like just "mel" to get back proper results it makes finding other tracks by this artist impossible.

http://modarchive.org/index.php?query=mel+o%27dee&request=search&search_type=guessed_artist

A link to that url from track listing:
http://modarchive.org/index.php?query=visions&request=search&search_type=filename

Either it would be a good idea to remove that character all together so nic can be searched or add support for " ' " character.



Fixed. Honestly, it was unsupported as a safety measure against possible SQL injection.

You may also have better results searching for this artist in the roster as "mellow-d". This is how he referred to himself inside his module sample texts, and also when he registered on the site long ago :)

Guessed (http://modarchive.org/index.php?query=mellow-d&request=search&search_type=guessed_artist)

Profile (http://modarchive.org/index.php?request=profile&query=69557)

There was also another problem relating to the repetition of the same visions.mod file with different hashes but pointing to the same file, these erroneous database entries have been removed.

Welcome to the forums, by the way. Hope you come back and join in the community here :)
Title: Re: Bug in search handling of " ' " character
Post by: blarg on January 30, 2008, 18:27:36
Cheers for sorting it so quickly and for info.  I will definately check out his stuff under mellow-d alias.   :)