fix regex for split / and ?, then add john's changes #35
fix allowedReferers *
fix to return error url mismatch in json format instead of throwing exception
Merge pull request #40 from esoekianto/master

several fixes for 1.0 release