Fixed escaped uri bug, Issue 16

I fixed escaped uri bug.
Used fields->uri instead of r->uri whan validating hash.
Please apply my patch. Thank you.