jshackles / Enhanced_Steam

Enhances the Steam Experience
www.EnhancedSteam.com
GNU General Public License v3.0
1.31k stars 195 forks source link

[BUG] Activate Multiple Products has an unexpected error if the input ends in a newline #1482

Closed KarlCastle closed 6 years ago

KarlCastle commented 6 years ago

I used Activate Multiple Products for the first time and received an unexpected error despite all my keys activating successfully.

I believe this is because activate_multiple_keys() tried to activate "" as a steam key?

(Relatedly, is it worthwhile adding input validation to the dialog? All recently issued steam keys are going to look like [0-9A-Z]{5}-[0-9A-Z]{5}-[0-9A-Z]{5} . I can't find the Steam kb article that listed all the valid kinds of steam keys... I think WON keys (12 characters?) are still redeemable.)