Kyahx's Avatar
Files 6
Downloads 28,314
Favorites 376
My AddOns
View Bug Report
Adding more input validation
Bug #: 2573
File: FreeRefills
Date: 12-09-06 01:02 AM
By: DamonDK
Status: Unconfirmed
I'd like to thank you for a nice addon for ppl who are forgetful.

Thanks to you,my pet is never gonna be unfed, and my gun never out of ammo.

But :

You need to perform more input validation!

I tried to type a thing like this : /freerefills addstack [Morning Glory Dew]
^item link^

I didn't see the number sign, so I got served with a harsh error, and nothing happened.

First I thought : Crappy 2.0.1 and breaking good ole addons..

But - I looked through the code, and I realised : You need to perform more input validation.

When ppl are filling up their "shopping list", they're not in combat/raid/a hurry, so spend the xtra cycles to atleast say "Hey, sorry.. you forgot to add a number after the item link" instead of getting the Red popup of doom (Okay, I have improved Errorframes, but not all have those ;) )

Thanks again