{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/182","repository_url":"https://api.github.com/repos/eclipse/jetty.project","labels_url":"https://api.github.com/repos/eclipse/jetty.project/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/jetty.project/issues/182/comments","events_url":"https://api.github.com/repos/eclipse/jetty.project/issues/182/events","html_url":"https://github.com/eclipse/jetty.project/issues/182","id":134126780,"number":182,"title":"Parse multipart/form-data before it enters the servlet","user":{"login":"jmcc0nn3ll","id":273327,"avatar_url":"https://avatars.githubusercontent.com/u/273327?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcc0nn3ll","html_url":"https://github.com/jmcc0nn3ll","followers_url":"https://api.github.com/users/jmcc0nn3ll/followers","following_url":"https://api.github.com/users/jmcc0nn3ll/following{/other_user}","gists_url":"https://api.github.com/users/jmcc0nn3ll/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcc0nn3ll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcc0nn3ll/subscriptions","organizations_url":"https://api.github.com/users/jmcc0nn3ll/orgs","repos_url":"https://api.github.com/users/jmcc0nn3ll/repos","events_url":"https://api.github.com/users/jmcc0nn3ll/events{/privacy}","received_events_url":"https://api.github.com/users/jmcc0nn3ll/received_events","type":"User","site_admin":false},"labels":[{"id":326417703,"url":"https://api.github.com/repos/eclipse/jetty.project/labels/Bug","name":"Bug","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":{"login":"janbartel","id":342406,"avatar_url":"https://avatars.githubusercontent.com/u/342406?v=3","gravatar_id":"","url":"https://api.github.com/users/janbartel","html_url":"https://github.com/janbartel","followers_url":"https://api.github.com/users/janbartel/followers","following_url":"https://api.github.com/users/janbartel/following{/other_user}","gists_url":"https://api.github.com/users/janbartel/gists{/gist_id}","starred_url":"https://api.github.com/users/janbartel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janbartel/subscriptions","organizations_url":"https://api.github.com/users/janbartel/orgs","repos_url":"https://api.github.com/users/janbartel/repos","events_url":"https://api.github.com/users/janbartel/events{/privacy}","received_events_url":"https://api.github.com/users/janbartel/received_events","type":"User","site_admin":false},"assignees":[{"login":"janbartel","id":342406,"avatar_url":"https://avatars.githubusercontent.com/u/342406?v=3","gravatar_id":"","url":"https://api.github.com/users/janbartel","html_url":"https://github.com/janbartel","followers_url":"https://api.github.com/users/janbartel/followers","following_url":"https://api.github.com/users/janbartel/following{/other_user}","gists_url":"https://api.github.com/users/janbartel/gists{/gist_id}","starred_url":"https://api.github.com/users/janbartel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janbartel/subscriptions","organizations_url":"https://api.github.com/users/janbartel/orgs","repos_url":"https://api.github.com/users/janbartel/repos","events_url":"https://api.github.com/users/janbartel/events{/privacy}","received_events_url":"https://api.github.com/users/janbartel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-02-16T23:31:14Z","updated_at":"2016-11-03T15:47:25Z","closed_at":"2016-11-02T04:47:53Z","body":"migrated from Bugzilla [#458126](https://bugs.eclipse.org/bugs/show_bug.cgi?id=458126)\nstatus ASSIGNED severity _normal_ in component _server_ for _9.2.x_\nReported in version _9.3.0_ on platform _All_\nAssigned to: Jan Bartel\n\nOn 2015-01-22 07:18:16 -0500, Jan Bartel wrote:\n\n> As reported in https://bugs.eclipse.org/bugs/show_bug.cgi?id=455655 there is a problem reporting parsing errors of multipart/form-data to the servlet. Jetty-9.2 was modified to throw runtime exceptions when the servlet attempts to retrieve the parts with any of the getPart/Parts methods. \n> \n> The solution for jetty-9.3 may be to throw any exception much earlier in the request processing, so that servlet is not even entered if there is a serious formatting error in the multipart data.\n\nOn 2015-01-22 09:39:13 -0500, Bill Mair wrote:\n\n> It should be possible to register a factory to create parser instances that parse \"multipart/form-data\" (e.g. MultiPartInputStreamParser and MultiPartInputStreamParserFactory).\n> \n> The current implementation should be changed to implement the interface and if no Factory has been registered by the servlet then the default implementation should be used.\n> \n> This would allow servlets to parse and verify the data and compensate for erroneous input.\n> \n> Maybe some kind of Content-Type based request processor registration already exists?\n"},"comment":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/comments/258182783","html_url":"https://github.com/eclipse/jetty.project/issues/182#issuecomment-258182783","issue_url":"https://api.github.com/repos/eclipse/jetty.project/issues/182","id":258182783,"user":{"login":"deki","id":858827,"avatar_url":"https://avatars.githubusercontent.com/u/858827?v=3","gravatar_id":"","url":"https://api.github.com/users/deki","html_url":"https://github.com/deki","followers_url":"https://api.github.com/users/deki/followers","following_url":"https://api.github.com/users/deki/following{/other_user}","gists_url":"https://api.github.com/users/deki/gists{/gist_id}","starred_url":"https://api.github.com/users/deki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deki/subscriptions","organizations_url":"https://api.github.com/users/deki/orgs","repos_url":"https://api.github.com/users/deki/repos","events_url":"https://api.github.com/users/deki/events{/privacy}","received_events_url":"https://api.github.com/users/deki/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T15:47:25Z","updated_at":"2016-11-03T15:47:25Z","body":"@janbartel thanks for the fix. We already solved the conflict in Tobago 3.x. For Tobago 2.x we can't really fix it as the user can use e.g. a JSF 2.0.x implementation without @MultipartConfig annotation on FacesServlet whereas a JSF 2.2.x implementation has the annotation."}}
{"actor":{"display_login":"deki"}}