{"action":"created","issue":{"url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/161","labels_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/161/comments","events_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/161/events","html_url":"https://github.com/florianholzapfel/express-restify-mongoose/pull/161","id":107556650,"number":161,"title":"escape regex string value in jsonQueryParser","user":{"login":"pedrosousabarreto","id":2739166,"avatar_url":"https://avatars.githubusercontent.com/u/2739166?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrosousabarreto","html_url":"https://github.com/pedrosousabarreto","followers_url":"https://api.github.com/users/pedrosousabarreto/followers","following_url":"https://api.github.com/users/pedrosousabarreto/following{/other_user}","gists_url":"https://api.github.com/users/pedrosousabarreto/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrosousabarreto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrosousabarreto/subscriptions","organizations_url":"https://api.github.com/users/pedrosousabarreto/orgs","repos_url":"https://api.github.com/users/pedrosousabarreto/repos","events_url":"https://api.github.com/users/pedrosousabarreto/events{/privacy}","received_events_url":"https://api.github.com/users/pedrosousabarreto/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-21T17:09:26Z","updated_at":"2015-09-21T18:25:39Z","closed_at":"2015-09-21T17:46:39Z","pull_request":{"url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/pulls/161","html_url":"https://github.com/florianholzapfel/express-restify-mongoose/pull/161","diff_url":"https://github.com/florianholzapfel/express-restify-mongoose/pull/161.diff","patch_url":"https://github.com/florianholzapfel/express-restify-mongoose/pull/161.patch"},"body":"Just a quick fix to allow regex queries with protected characters in them like '+'.\r\n\r\nExample: http://.../api/v1/entity/?email=~pedro+test@gmail.com\r\n\r\nHope it helps.\r\npedro"},"comment":{"url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/comments/142067712","html_url":"https://github.com/florianholzapfel/express-restify-mongoose/pull/161#issuecomment-142067712","issue_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/161","id":142067712,"user":{"login":"pedrosousabarreto","id":2739166,"avatar_url":"https://avatars.githubusercontent.com/u/2739166?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrosousabarreto","html_url":"https://github.com/pedrosousabarreto","followers_url":"https://api.github.com/users/pedrosousabarreto/followers","following_url":"https://api.github.com/users/pedrosousabarreto/following{/other_user}","gists_url":"https://api.github.com/users/pedrosousabarreto/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrosousabarreto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrosousabarreto/subscriptions","organizations_url":"https://api.github.com/users/pedrosousabarreto/orgs","repos_url":"https://api.github.com/users/pedrosousabarreto/repos","events_url":"https://api.github.com/users/pedrosousabarreto/events{/privacy}","received_events_url":"https://api.github.com/users/pedrosousabarreto/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T18:25:39Z","updated_at":"2015-09-21T18:25:39Z","body":"Thanks @Zertz, I was just putting a '~' in front of the string and expecting a regex... just need some rest :)"}}