nastra commented on PR #15989:
URL: https://github.com/apache/iceberg/pull/15989#issuecomment-4728773401

   > There is a behavioral regression when an old client (encodeString) talks 
to a new server (decodePathSegment): any space will be interpreted by the 
server as the + sign.
   
   @adutra couldn't we fix this by keeping `decodeString` everywhere? It's been 
a while since I looked into this, but I believe `URLDecoder.decode` is already 
lenient and can handle `+` and `%20` properly. Alternatively we might want to 
explore `PercentCodec.decode(content, charset, true)` with `plusAsBlank=true`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to