{"action":"opened","issue":{"url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1222","repository_url":"https://api.github.com/repos/restlet/restlet-framework-java","labels_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1222/labels{/name}","comments_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1222/comments","events_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1222/events","html_url":"https://github.com/restlet/restlet-framework-java/issues/1222","id":164727042,"number":1222,"title":"Tag: \"Invalid tag format detected\" causes 404 response?","user":{"login":"emas80","id":2953749,"avatar_url":"https://avatars.githubusercontent.com/u/2953749?v=3","gravatar_id":"","url":"https://api.github.com/users/emas80","html_url":"https://github.com/emas80","followers_url":"https://api.github.com/users/emas80/followers","following_url":"https://api.github.com/users/emas80/following{/other_user}","gists_url":"https://api.github.com/users/emas80/gists{/gist_id}","starred_url":"https://api.github.com/users/emas80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emas80/subscriptions","organizations_url":"https://api.github.com/users/emas80/orgs","repos_url":"https://api.github.com/users/emas80/repos","events_url":"https://api.github.com/users/emas80/events{/privacy}","received_events_url":"https://api.github.com/users/emas80/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-10T18:11:44Z","updated_at":"2016-07-10T18:11:44Z","closed_at":null,"body":"Hi, I am using Restlet 2.3.6 and I have found a very weird issue that I cannot track down into the code.\r\n\r\nOn the logs of my application I see\r\n\"Invalid tag format detected: [SOME_INVALID_ETAG_VALUE]\"\r\nand after I see that the response status returned is 404\r\n\r\nI see that the first message is printed inside of the Tag class, line 84.\r\nI guess that the responsible of the 404 is the ServerResource class, line 464, doHandle method.\r\nThe call, when the warning is printed, doesn't even reach my code, it is stopped somewhere at Restlet level.\r\n\r\nNow, I clearly understand that the tag it found is not a valid tag, and I am fine with that. What I don't understand is why this translates into a 404, it seems wrong to me, why not simply ignore the tag and return the response?"}}
{"actor":{"display_login":"emas80"}}