{"action":"created","issue":{"url":"https://api.github.com/repos/petkivim/embed-google-map/issues/6","labels_url":"https://api.github.com/repos/petkivim/embed-google-map/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/petkivim/embed-google-map/issues/6/comments","events_url":"https://api.github.com/repos/petkivim/embed-google-map/issues/6/events","html_url":"https://github.com/petkivim/embed-google-map/pull/6","id":90918854,"number":6,"title":"Address must be urlencoded","user":{"login":"fede91it","id":346224,"avatar_url":"https://avatars.githubusercontent.com/u/346224?v=3","gravatar_id":"","url":"https://api.github.com/users/fede91it","html_url":"https://github.com/fede91it","followers_url":"https://api.github.com/users/fede91it/followers","following_url":"https://api.github.com/users/fede91it/following{/other_user}","gists_url":"https://api.github.com/users/fede91it/gists{/gist_id}","starred_url":"https://api.github.com/users/fede91it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fede91it/subscriptions","organizations_url":"https://api.github.com/users/fede91it/orgs","repos_url":"https://api.github.com/users/fede91it/repos","events_url":"https://api.github.com/users/fede91it/events{/privacy}","received_events_url":"https://api.github.com/users/fede91it/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-25T10:12:38Z","updated_at":"2015-06-27T05:08:51Z","closed_at":"2015-06-27T04:50:57Z","pull_request":{"url":"https://api.github.com/repos/petkivim/embed-google-map/pulls/6","html_url":"https://github.com/petkivim/embed-google-map/pull/6","diff_url":"https://github.com/petkivim/embed-google-map/pull/6.diff","patch_url":"https://github.com/petkivim/embed-google-map/pull/6.patch"},"body":"With the address used in this snippet:\r\n\r\n`{google_map}Brighton, Brighton & Hove, United Kingdom{/google_map}`\r\n\r\nThis is the given **src** value for the iframe:\r\n\r\n`https://www.google.com/maps?q=Brighton, Brighton &amp; Hove, Regno Unito&amp;z=14&amp;t=m&amp;output=embed`\r\n\r\n![now](https://cloud.githubusercontent.com/assets/346224/8352118/0d813d40-1b33-11e5-9c6c-d891ac492462.PNG)\r\n\r\nThe ampersand in the address is interpreted as new query separator. The address passed to the url must be urlencoded as that:\r\n\r\n`https://www.google.com/maps?q=Brighton%2C+Brighton+%26amp%3B+Hove%2C+Regno+Unito&amp;z=14&amp;t=m&amp;output=embed`\r\n\r\n![urlencoded](https://cloud.githubusercontent.com/assets/346224/8352125/15b2c47a-1b33-11e5-84b1-dbb61c099173.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/petkivim/embed-google-map/issues/comments/115962428","html_url":"https://github.com/petkivim/embed-google-map/pull/6#issuecomment-115962428","issue_url":"https://api.github.com/repos/petkivim/embed-google-map/issues/6","id":115962428,"user":{"login":"petkivim","id":575897,"avatar_url":"https://avatars.githubusercontent.com/u/575897?v=3","gravatar_id":"","url":"https://api.github.com/users/petkivim","html_url":"https://github.com/petkivim","followers_url":"https://api.github.com/users/petkivim/followers","following_url":"https://api.github.com/users/petkivim/following{/other_user}","gists_url":"https://api.github.com/users/petkivim/gists{/gist_id}","starred_url":"https://api.github.com/users/petkivim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petkivim/subscriptions","organizations_url":"https://api.github.com/users/petkivim/orgs","repos_url":"https://api.github.com/users/petkivim/repos","events_url":"https://api.github.com/users/petkivim/events{/privacy}","received_events_url":"https://api.github.com/users/petkivim/received_events","type":"User","site_admin":false},"created_at":"2015-06-27T05:08:51Z","updated_at":"2015-06-27T05:08:51Z","body":"Before URL encoding the address it must be checked that the address does not contain a link to Google Maps as links must not be URL encoded. I added the check before URL encoding the address. "}}