Manually replacing '+' character or "%20" by a space character in the search query parameter was necessary in YaCy a long time ago to properly decode application/x-www-form-urlencoded format (commitpull/226/head9842fab6e4
in 2010). Since the introduction of Jetty as the embedded HTTP server (commit4b77733e59
in 2013), this is no more necessary as Jetty internals already do this for us in org.eclipse.jetty.util.UrlEncoded.decodeUtf8To(). So we can remove now this duplicated decoding as it prevents a proper use of the '+' character in search requests, as reported in issue #216.
parent
baa7154486
commit
b726b2b532
Loading…
Reference in new issue