{"action":"opened","issue":{"url":"https://api.github.com/repos/Unidata/thredds/issues/115","labels_url":"https://api.github.com/repos/Unidata/thredds/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/Unidata/thredds/issues/115/comments","events_url":"https://api.github.com/repos/Unidata/thredds/issues/115/events","html_url":"https://github.com/Unidata/thredds/issues/115","id":66537989,"number":115,"title":"TDS can't serve files in public folder other than *.css, *.gif, *.jpg","user":{"login":"shane-axiom","id":1138892,"avatar_url":"https://avatars.githubusercontent.com/u/1138892?v=3","gravatar_id":"","url":"https://api.github.com/users/shane-axiom","html_url":"https://github.com/shane-axiom","followers_url":"https://api.github.com/users/shane-axiom/followers","following_url":"https://api.github.com/users/shane-axiom/following{/other_user}","gists_url":"https://api.github.com/users/shane-axiom/gists{/gist_id}","starred_url":"https://api.github.com/users/shane-axiom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shane-axiom/subscriptions","organizations_url":"https://api.github.com/users/shane-axiom/orgs","repos_url":"https://api.github.com/users/shane-axiom/repos","events_url":"https://api.github.com/users/shane-axiom/events{/privacy}","received_events_url":"https://api.github.com/users/shane-axiom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-06T06:14:23Z","updated_at":"2015-04-06T06:14:23Z","closed_at":null,"body":"In a change from previous versions (4.3.x), TDS seems to have lost the ability to serve files in the public content directory other than css, gif, and jpg files. The description in the docs doesn't mention this limitation.\r\n\r\nhttp://www.unidata.ucar.edu/software/thredds/current/tds/reference/ThreddsConfigXMLFile.html#Server_Description\r\n\r\n> NOTE: The best way to use your own logo is to put it in the ${tomcat_home}/content/thredds/public/ directory, and specify it in serverInformation as /thredds/<name>\r\n\r\nThis seems to be the code restricting the extensions via a spring RequestMapping pattern.\r\n\r\nhttps://github.com/Unidata/thredds/blob/4.6.0/tds/src/main/java/thredds/server/root/RootController.java#L70\r\n\r\nIt also seems that subdirectories of public can't be used anymore either (e.g. images subdirectory). These two changes bit us when upgrading to 4.6.0 from 4.3.20 as we used to serve a PNG logo image from public/images/header.png."}}