{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-framework/issues/1372","repository_url":"https://api.github.com/repos/spring-projects/spring-framework","labels_url":"https://api.github.com/repos/spring-projects/spring-framework/issues/1372/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-framework/issues/1372/comments","events_url":"https://api.github.com/repos/spring-projects/spring-framework/issues/1372/events","html_url":"https://github.com/spring-projects/spring-framework/pull/1372","id":219251449,"number":1372,"title":"Fix: Avoid query parameters in filename","user":{"login":"jhordies","id":7988057,"avatar_url":"https://avatars3.githubusercontent.com/u/7988057?v=3","gravatar_id":"","url":"https://api.github.com/users/jhordies","html_url":"https://github.com/jhordies","followers_url":"https://api.github.com/users/jhordies/followers","following_url":"https://api.github.com/users/jhordies/following{/other_user}","gists_url":"https://api.github.com/users/jhordies/gists{/gist_id}","starred_url":"https://api.github.com/users/jhordies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhordies/subscriptions","organizations_url":"https://api.github.com/users/jhordies/orgs","repos_url":"https://api.github.com/users/jhordies/repos","events_url":"https://api.github.com/users/jhordies/events{/privacy}","received_events_url":"https://api.github.com/users/jhordies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-04T13:31:49Z","updated_at":"2017-04-04T13:31:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-framework/pulls/1372","html_url":"https://github.com/spring-projects/spring-framework/pull/1372","diff_url":"https://github.com/spring-projects/spring-framework/pull/1372.diff","patch_url":"https://github.com/spring-projects/spring-framework/pull/1372.patch"},"body":"The URL.getFile() javadocs say :\r\nGets the file name of this URL. The returned file portion will be the same as getPath(), plus the concatenation of the value of getQuery(), if any. If there is no query portion, this method and getPath() will return identical results.\r\n\r\nThis causes a bug in Spring boot when specifying --spring.config.location=http://host/group/repo/raw/branch/config.yml?private_token=NyAq4wDit3hmJ7UZPyMU because \".yml?private_token=NyAq4wDit3hmJ7UZPyMU\" is not a supported extension.\r\n\r\nMy workaround until this gets fixed is to use --spring.config.location=http://host/group/repo/raw/branch/config.yml?private_token=NyAq4wDit3hmJ7UZPyMU&fake_param=whatever.yml"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-framework/issues/comments/291500354","html_url":"https://github.com/spring-projects/spring-framework/pull/1372#issuecomment-291500354","issue_url":"https://api.github.com/repos/spring-projects/spring-framework/issues/1372","id":291500354,"user":{"login":"pivotal-issuemaster","id":17652765,"avatar_url":"https://avatars1.githubusercontent.com/u/17652765?v=3","gravatar_id":"","url":"https://api.github.com/users/pivotal-issuemaster","html_url":"https://github.com/pivotal-issuemaster","followers_url":"https://api.github.com/users/pivotal-issuemaster/followers","following_url":"https://api.github.com/users/pivotal-issuemaster/following{/other_user}","gists_url":"https://api.github.com/users/pivotal-issuemaster/gists{/gist_id}","starred_url":"https://api.github.com/users/pivotal-issuemaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivotal-issuemaster/subscriptions","organizations_url":"https://api.github.com/users/pivotal-issuemaster/orgs","repos_url":"https://api.github.com/users/pivotal-issuemaster/repos","events_url":"https://api.github.com/users/pivotal-issuemaster/events{/privacy}","received_events_url":"https://api.github.com/users/pivotal-issuemaster/received_events","type":"User","site_admin":false},"created_at":"2017-04-04T13:31:50Z","updated_at":"2017-04-04T13:31:50Z","body":"@jhordies Please sign the [Contributor License Agreement](https://cla.pivotal.io/sign/spring?repositoryId=spring-projects/spring-framework&pullRequestId=1372)!\n\n[Click here](https://cla.pivotal.io/sync/spring?repositoryId=spring-projects/spring-framework&pullRequestId=1372) to manually synchronize the status of this Pull Request.\n\nSee the [FAQ](https://cla.pivotal.io/about) for frequently asked questions."}}
{"actor":{"display_login":"pivotal-issuemaster"}}