{"action":"created","issue":{"url":"https://api.github.com/repos/Esri/resource-proxy/issues/171","labels_url":"https://api.github.com/repos/Esri/resource-proxy/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/Esri/resource-proxy/issues/171/comments","events_url":"https://api.github.com/repos/Esri/resource-proxy/issues/171/events","html_url":"https://github.com/Esri/resource-proxy/pull/171","id":50321907,"number":171,"title":"DotNet Set Default Value for ServerUrl.Domain","user":{"login":"AmrEldib","id":769272,"avatar_url":"https://avatars.githubusercontent.com/u/769272?v=3","gravatar_id":"","url":"https://api.github.com/users/AmrEldib","html_url":"https://github.com/AmrEldib","followers_url":"https://api.github.com/users/AmrEldib/followers","following_url":"https://api.github.com/users/AmrEldib/following{/other_user}","gists_url":"https://api.github.com/users/AmrEldib/gists{/gist_id}","starred_url":"https://api.github.com/users/AmrEldib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmrEldib/subscriptions","organizations_url":"https://api.github.com/users/AmrEldib/orgs","repos_url":"https://api.github.com/users/AmrEldib/repos","events_url":"https://api.github.com/users/AmrEldib/events{/privacy}","received_events_url":"https://api.github.com/users/AmrEldib/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Esri/resource-proxy/labels/*DotNet*","name":"*DotNet*","color":"eeeeee"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-27T20:29:48Z","updated_at":"2015-01-26T16:56:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Esri/resource-proxy/pulls/171","html_url":"https://github.com/Esri/resource-proxy/pull/171","diff_url":"https://github.com/Esri/resource-proxy/pull/171.diff","patch_url":"https://github.com/Esri/resource-proxy/pull/171.patch"},"body":"- DotNet proxy.\r\n- Allow users to skip setting the value for ServerUrl.Domain in the\r\nproxy.config file if it's equal to empty string.\r\n- Otherwise, proxy fails if user doesn't set a value for domain.\r\n- Related to #118\r\n- This will allow this configuration\r\nSample configuration: <serverUrl\r\nurl=\"http://artemisf/arcgis/rest/services/California/MapServer\"\r\nmatchAll=\"true\" username=\"XXX\" password=\"XXX\"/>"},"comment":{"url":"https://api.github.com/repos/Esri/resource-proxy/issues/comments/71494219","html_url":"https://github.com/Esri/resource-proxy/pull/171#issuecomment-71494219","issue_url":"https://api.github.com/repos/Esri/resource-proxy/issues/171","id":71494219,"user":{"login":"bsvensson","id":808357,"avatar_url":"https://avatars.githubusercontent.com/u/808357?v=3","gravatar_id":"","url":"https://api.github.com/users/bsvensson","html_url":"https://github.com/bsvensson","followers_url":"https://api.github.com/users/bsvensson/followers","following_url":"https://api.github.com/users/bsvensson/following{/other_user}","gists_url":"https://api.github.com/users/bsvensson/gists{/gist_id}","starred_url":"https://api.github.com/users/bsvensson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsvensson/subscriptions","organizations_url":"https://api.github.com/users/bsvensson/orgs","repos_url":"https://api.github.com/users/bsvensson/repos","events_url":"https://api.github.com/users/bsvensson/events{/privacy}","received_events_url":"https://api.github.com/users/bsvensson/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T16:56:29Z","updated_at":"2015-01-26T16:56:29Z","body":"@AmrEldib - this change seems to break the simple use case of username/password connecting to an ArcGIS Server like sampleserver6.arcgis.com\r\n\r\nTest:\r\n\r\n    http://localhost/DotNet/proxy.ashx?http://sampleserver6.arcgisonline.com/arcgis/rest/services/SaveTheBay/FeatureServer\r\n\r\nwith the following in the proxy.config:\r\n\r\n        <serverUrl url=\"http://sampleserver6.arcgisonline.com/arcgis/rest/services/SaveTheBay/FeatureServer\" \r\n            matchAll=\"true\"\r\n            username=\"user2\"\r\n            password=\"user2\"/>\r\n"}}