Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDecoded URI in equinox
https://www.eclipse.org/forums/index.php/mv/msg/1085586/1759639/#msg_1759639
After investigating it, we discover we are exactly facing this bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=497510
Checking in master there is a comment in code :
// BUGBUG this should probably be URI encoded?
// Servlet 2.2 Section 5.4
According to servlet API I confirm it should not be decoded there, and it is a regression introduced in Neon.
It seems quite easy to fix
in HttpServletRequestWrapperImpl::parseRequestLine
reqURI should not be decoded.
I could patch it, but I would like to know, were there any reasons to decode the uri ? and do you know why it was done like this ? ]]>Arnaud MERGEY2017-04-14T10:39:47-00:00