fixed "Set Doc status fail: Error: write EPIPE"
Merge pull request #2 from openwebcraft/master

uri encode of hoodie user db