Forum - View topicAPI does not decode query values correctly
|
Author | Message | ||
---|---|---|---|
nadir-seen-fire
![]() Posts: 90 |
|
||
I was building something personal that uses ANN's api and through a bug in it realized that ANN's api doesn't decode query string values in the normal way.
Specifically the + that is. In the query string both + and %20 can represent a. And the url encoding functions used in most programming languages will prefer to output a + instead of a %20 if they know they are encoding for something in the query string. Unfortunately it looks like ANN's API isn't correctly turning + in the query string into a space and as a result these two API requests which should refer to the exact same resource give different results (or rather one of them doesn't return anything at all): |
|||
|
|||
Dan42
Chief Encyclopedist
![]() Posts: 3794 Location: Montreal |
|
||
fixed
|
|||
|
|||
nadir-seen-fire
![]() Posts: 90 |
|
||
Great. It's a bit of a side request, but it would be nice if some of the related anime/manga stuff was exposed in the API like sequels, remakes, side-stories, adaptions, etc...
|
|||
|
|||
All times are GMT - 5 Hours |
||
|
Powered by phpBB © 2001, 2005 phpBB Group