Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Kronus Heilgar
Dark Orbit Media
|
Posted - 2011.07.15 05:53:00 -
[1]
Anyone know why if you query names that contain an underscore in them, the "/eve/CharacterID.xml.aspx" API freaks out?
e.g. the character with ID 1121004924 (GRIM_KILLER). If you query the CharacterInfo API, he shows up (http://api.eve-online.com/eve/CharacterInfo.xml.aspx?characterID=1121004924), but if you put his name in the CharacterID API it gives an error (http://api.eve-online.com/eve/CharacterID.xml.aspx?names=GRIM_KILLER).
Thoughts? ------------
EVE 3rd-Party Shutdown Party |
Lutz Major
|
Posted - 2011.07.15 07:25:00 -
[2]
Edited by: Lutz Major on 15/07/2011 07:27:24 Edited by: Lutz Major on 15/07/2011 07:26:17 Try proper UTF-8 encoding
Use '& #095;' for the underscore. Without the ' and the space between & and #
|
Desmont McCallock
|
Posted - 2011.07.15 08:54:00 -
[3]
I don't know if you are trying to query via any program language but you should find which is the method, procedure, function of your program language that encodes the HTTP request as URL (URLEncode).
|
Quarantan
Caldari Burning Napalm Northern Coalition.
|
Posted - 2011.07.15 09:08:00 -
[4]
to quote the encoding RFC http://www.rfc-editor.org/rfc/rfc1738.txt:
Thus, only alphanumerics, the special characters "$-_.+!*'(),", and reserved characters used for their reserved purposes may be used unencoded within a URL.
What this means in this case: underscores are not to be escaped in HTTP requests, the fault is on CCPs end for doing sth with the underscore to mess up the names list.
|
Trenker
|
Posted - 2011.07.15 21:36:00 -
[5]
Quarantan is right, it's a bug in the API service. Did someone create a bug report?
|
Kronus Heilgar
Dark Orbit Media
|
Posted - 2011.07.16 20:42:00 -
[6]
I did my research before posting, and read about escaping underscores. Came up with the same thing, basically saying that they are to be left as is.
I checked in-game and names with underscores actually aren't allowed. My assumption is that years ago it was allowed, or a glitch allowed it temporarily, but it was fixed and so CCP never thought they'd need to deal with it. I submitted a petition about it, havn't done a bug report though. ------------
EVE 3rd-Party Shutdown Party |
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |