-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Character length is not calculated correct, when using + instead of spacing in character endpoint.
Issue:
Throws a 400
http code with error 10006
:
the provided character name has a word too big
Example:
- https://api.tibiadata.com/v4/character/Jamil+Ondeta+Temconfusao
- https://api.tibiadata.com/v4/character/Traicionaron+Al+Mikee
Temporary workaround:
Ensure you replace +
signs with space
or %20
in your code.
E.g:
https://api.tibiadata.com/v4/character/Jamil Ondeta Temconfusao
https://api.tibiadata.com/v4/character/Jamil%20Ondeta%20Temconfusao
This is an easily worked around issue, but it doesn't exist in v3:
https://api.tibiadata.com/v3/character/Jamil+Ondeta+Temconfusao
So it may cause friction migrating, especially as some people may use +
as spaces in their code-base due to habit as that is what the Tibia website uses.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers