Skip to content

+ character is being counted towards character name 'word limit' #305

@Leo32onGIT

Description

@Leo32onGIT

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:

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

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions