yeriomin / token-dispenser

Stores email-password pairs, gives out Google Play Store tokens
GNU General Public License v2.0
62 stars 36 forks source link

Lacking support for passwords containing spaces #24

Open TravisWhitehead opened 4 years ago

TravisWhitehead commented 4 years ago

Since FIELD_SEPERATOR is a space, passwords containing spaces are erroneously flagged as invalid. Instead this code should split on only the first space and consider everything after that a password.

https://github.com/yeriomin/token-dispenser/blob/6b1428e9a36884aa6d46440b145efa2a12de8b6a/src/main/java/com/github/yeriomin/tokendispenser/PasswordsDbPlaintext.java#L56-L60