Skip to main content



      Home
Home » Eclipse Projects » Equinox » Decoded URI in equinox
Decoded URI in equinox [message #1759639] Fri, 14 April 2017 06:39
Eclipse UserFriend
Upgrading from mars to neon, we were facing strange issue in a rest api with params with special characters

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 ?
Previous Topic:[p2]Location must be absolute error although it is an absolute path
Next Topic:OSGI Whiteboard registered Resource not working
Goto Forum:
  


Current Time: Thu Jun 12 22:17:01 EDT 2025

Powered by FUDForum. Page generated in 0.02666 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top