allow url parameter be empty
Merge branch 'master' of git://github.com/twinh/wei