json_web_service bug in relation search

Bug #1027349 reported by iPhoneIslam on 2012-07-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Alfanous - Quranic Search engine

Bug Description

When search with

It gives results not equals to...


While both are search for...
مصر + يوسف

but it seem that you do not encode the PLUS sign with the json!

Changed in alfanous:
importance: Undecided → Medium
status: New → Opinion

those two queries are not the same because in the first one, you didnt encode the "plus" in the url so the browser will understand it as a concatenation : %D9%8A%D9%88%D8%B3%D9%81%20 + %20%D9%85%D8%B5%D8%B1 مصر يوسف

in the second query, the "plus" is encoded to "%2B"

That's the right writing to search for "مصر + يوسف" , http://www.alfanous.org/json?search=%D9%85%D8%B5%D8%B1%20%2B%20%D9%8A%D9%88%D8%B3%D9%81

try always to encode the special characters in the url

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers