Ubuntu Forums Archive Viewer

Forum search bug

Archived thread 1007625 from Forum Feedback & Help. Markdown source: Forum_Feedback_&_Help/thread_1007625_Forum_search_bug.md

Original URL About this archive
#1

This post alerted me to a bug in the forum. When you search for [FONT=Courier New][COLOR=Green]C++[/COLOR][/FONT], the forum silently turns it into a search for C. Searching for [FONT=Courier New][COLOR=Green]"C++"[/COLOR][/FONT] turns into a search for [FONT=Courier New][COLOR=Green]"C[/COLOR][/FONT] and the term [FONT=Courier New][COLOR=Green]"[/COLOR][/FONT].

#2

What it is doing is searching for "c " < note the two spaces. This has to do with the way GET and POST variables are posted.

edit: this post might not be entirely right now that I realize that UF uses POST processing instaed of GET

#3

jenkinbr said: What it is doing is searching for "c " < note the two spaces. This has to do with the way GET and POST variables are posted.

edit: this post might not be entirely right now that I realize that UF uses POST processing instaed of GET That's not the case, because the browser will escape special characters before submitting them--that applies equally to GET and POST. Instead, it has something to do with the forum software itself.

#4

mssever said: That's not the case, because the browser will escape special characters before submitting them--that applies equally to GET and POST. Instead, it has something to do with the forum software itself.

I realized my post was mostly wrong after posting it - hence the edit.