{"action":"opened","issue":{"url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/357","repository_url":"https://api.github.com/repos/aldeed/meteor-collection2","labels_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/357/comments","events_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/357/events","html_url":"https://github.com/aldeed/meteor-collection2/issues/357","id":192145659,"number":357,"title":"Insert valid url on empty string","user":{"login":"Deelux","id":4540876,"avatar_url":"https://avatars.githubusercontent.com/u/4540876?v=3","gravatar_id":"","url":"https://api.github.com/users/Deelux","html_url":"https://github.com/Deelux","followers_url":"https://api.github.com/users/Deelux/followers","following_url":"https://api.github.com/users/Deelux/following{/other_user}","gists_url":"https://api.github.com/users/Deelux/gists{/gist_id}","starred_url":"https://api.github.com/users/Deelux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deelux/subscriptions","organizations_url":"https://api.github.com/users/Deelux/orgs","repos_url":"https://api.github.com/users/Deelux/repos","events_url":"https://api.github.com/users/Deelux/events{/privacy}","received_events_url":"https://api.github.com/users/Deelux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-28T23:24:32Z","updated_at":"2016-11-28T23:24:32Z","closed_at":null,"body":"Hi there, \r\n\r\nFor some reason my values are not getting \"clean'ed\". In my schema I have:\r\n`  videoLink: {\r\n    type: String,\r\n    regEx: SimpleSchema.RegEx.Url,\r\n    label: 'The url of the file.',\r\n    optional: true`\r\n\r\nBut when I insert it into the collection I still get a insert valid url error. \r\n\r\nHow can I fix this? "}}
{"actor":{"display_login":"Deelux"}}