{"action":"created","issue":{"url":"https://api.github.com/repos/warmcat/libwebsockets/issues/651","repository_url":"https://api.github.com/repos/warmcat/libwebsockets","labels_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/651/comments","events_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/651/events","html_url":"https://github.com/warmcat/libwebsockets/issues/651","id":185629544,"number":651,"title":"ws- allow cross site scripting","user":{"login":"tejendrasingh","id":16553395,"avatar_url":"https://avatars.githubusercontent.com/u/16553395?v=3","gravatar_id":"","url":"https://api.github.com/users/tejendrasingh","html_url":"https://github.com/tejendrasingh","followers_url":"https://api.github.com/users/tejendrasingh/followers","following_url":"https://api.github.com/users/tejendrasingh/following{/other_user}","gists_url":"https://api.github.com/users/tejendrasingh/gists{/gist_id}","starred_url":"https://api.github.com/users/tejendrasingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejendrasingh/subscriptions","organizations_url":"https://api.github.com/users/tejendrasingh/orgs","repos_url":"https://api.github.com/users/tejendrasingh/repos","events_url":"https://api.github.com/users/tejendrasingh/events{/privacy}","received_events_url":"https://api.github.com/users/tejendrasingh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-27T10:23:56Z","updated_at":"2016-11-03T14:10:01Z","closed_at":"2016-10-31T18:33:58Z","body":"Sir, please tell  me how  to enable cross site scripting.where will i add Acess-Control-Allow-Origin:\\* in header\n"},"comment":{"url":"https://api.github.com/repos/warmcat/libwebsockets/issues/comments/258152624","html_url":"https://github.com/warmcat/libwebsockets/issues/651#issuecomment-258152624","issue_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/651","id":258152624,"user":{"login":"mradul17","id":16560427,"avatar_url":"https://avatars.githubusercontent.com/u/16560427?v=3","gravatar_id":"","url":"https://api.github.com/users/mradul17","html_url":"https://github.com/mradul17","followers_url":"https://api.github.com/users/mradul17/followers","following_url":"https://api.github.com/users/mradul17/following{/other_user}","gists_url":"https://api.github.com/users/mradul17/gists{/gist_id}","starred_url":"https://api.github.com/users/mradul17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mradul17/subscriptions","organizations_url":"https://api.github.com/users/mradul17/orgs","repos_url":"https://api.github.com/users/mradul17/repos","events_url":"https://api.github.com/users/mradul17/events{/privacy}","received_events_url":"https://api.github.com/users/mradul17/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T14:10:01Z","updated_at":"2016-11-03T14:10:01Z","body":"sir, Please Review code,\r\n\r\n[test-websocket.zip](https://github.com/warmcat/libwebsockets/files/569144/test-websocket.zip)\r\n\r\n i used test-server.c test-server-http.c. i add some extra code to read  lwsws/conf.d/localhost \r\ni added Acess-Control-Allow-Origin:* in lwsws/conf.d/localhost.\r\nbut i get error on chrome browser console-\r\n\"XMLHttpRequest cannot load http://localhost:5001/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.\"\r\nzip contain test.hmtl to post image\r\n\r\n[test-websocket.zip](https://github.com/warmcat/libwebsockets/files/569144/test-websocket.zip)\r\n\r\n\r\n"}}
{"actor":{"display_login":"mradul17"}}