Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better paste format detection #46

Open
haggen opened this issue Oct 25, 2020 · 0 comments
Open

Better paste format detection #46

haggen opened this issue Oct 25, 2020 · 0 comments
Labels

Comments

@haggen
Copy link
Owner

haggen commented Oct 25, 2020

Looking into the data I noticed the API is failing at detecting a chat transcript when there's no character links and defaulting to members list format. We should be more strict when detecting the paste content format, for instance, we could follow the game's policy on character names to detect an invalid paste:

Valid player character names:

  • Must be at least 3 characters.
  • Cannot exceed 37 characters. (This limit includes one space between the characters name and family name.)
    • Name cannot exceed 24 characters. The name can include a middle name separated by a space.
    • Family name cannot exceed 12 characters.
  • May contain the characters A-Z, a-z, 0-9, hyphen-minus and single quotation. (Corporation names may also include the dot character.)
  • Space, hyphen-minus and single quotation characters are not allowed as the first or last character in a name.
  • Must be unique.

https://community.eveonline.com/support/policies/naming-policy-en/

@haggen haggen added the bug label Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant