Fix some assertion failure
Fix function RemoveInvalidChars(const string &instr)

Signed-off-by: PlutoniumHeart <zhitaoli.hust@gmail.com>
Merge pull request #11 from FreeFalcon/feature/some_assertion_fix

Fix some assertion failure