Resolve encode uri issue with gist